This repository has been archived by the owner on Oct 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
673 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
app/src/main/java/app/revanced/integrations/boostforreddit/FixSLinksPatch.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package app.revanced.integrations.boostforreddit; | ||
|
||
import com.rubenmayayo.reddit.ui.activities.WebViewActivity; | ||
|
||
import app.revanced.integrations.shared.fixes.slink.BaseFixSLinksPatch; | ||
|
||
/** @noinspection unused*/ | ||
public class FixSLinksPatch extends BaseFixSLinksPatch { | ||
static { | ||
INSTANCE = new FixSLinksPatch(); | ||
} | ||
|
||
private FixSLinksPatch() { | ||
webViewActivityClass = WebViewActivity.class; | ||
} | ||
|
||
public static boolean patchResolveSLink(String link) { | ||
return INSTANCE.resolveSLink(link); | ||
} | ||
|
||
public static void patchSetAccessToken(String accessToken) { | ||
INSTANCE.setAccessToken(accessToken); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.