mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-02 16:15:58 +01:00
feat(twitch): add auto-claim-channel-points
patch (#398)
This commit is contained in:
parent
ab87cce7e5
commit
d7f050ba2f
@ -0,0 +1,9 @@
|
|||||||
|
package app.revanced.twitch.patches;
|
||||||
|
|
||||||
|
import app.revanced.twitch.settings.SettingsEnum;
|
||||||
|
|
||||||
|
public class AutoClaimChannelPointsPatch {
|
||||||
|
public static boolean shouldAutoClaim() {
|
||||||
|
return SettingsEnum.AUTO_CLAIM_CHANNEL_POINTS.getBoolean();
|
||||||
|
}
|
||||||
|
}
|
@ -21,6 +21,7 @@ public enum SettingsEnum {
|
|||||||
|
|
||||||
/* Chat */
|
/* Chat */
|
||||||
SHOW_DELETED_MESSAGES("revanced_show_deleted_messages", STRING, "cross-out"),
|
SHOW_DELETED_MESSAGES("revanced_show_deleted_messages", STRING, "cross-out"),
|
||||||
|
AUTO_CLAIM_CHANNEL_POINTS("revanced_auto_claim_channel_points", BOOLEAN, TRUE),
|
||||||
|
|
||||||
/* Misc */
|
/* Misc */
|
||||||
DEBUG_MODE("revanced_debug_mode", BOOLEAN, FALSE, true);
|
DEBUG_MODE("revanced_debug_mode", BOOLEAN, FALSE, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user