forked from ReVanced/revanced-integrations
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: inconsistencies in preference switches (ReVanced#235)
- Loading branch information
1 parent
b93b03d
commit d64a0f9
Showing
10 changed files
with
160 additions
and
59 deletions.
There are no files selected for viewing
5 changes: 2 additions & 3 deletions
5
app/src/main/java/app/revanced/integrations/patches/BrandingWaterMarkPatch.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 |
---|---|---|
@@ -1,12 +1,11 @@ | ||
package app.revanced.integrations.patches; | ||
|
||
import app.revanced.integrations.adremover.AdRemoverAPI; | ||
import app.revanced.integrations.settings.SettingsEnum; | ||
|
||
public class BrandingWaterMarkPatch { | ||
|
||
//Used by: app.revanced.patches.youtube.layout.watermark.patch.HideWatermarkPatch | ||
// Used by: app.revanced.patches.youtube.layout.watermark.patch.HideWatermarkPatch | ||
public static boolean isBrandingWatermarkShown() { | ||
return SettingsEnum.BRANDING_SHOWN.getBoolean(); | ||
return SettingsEnum.HIDE_VIDEO_WATERMARK.getBoolean() == false; | ||
} | ||
} |
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
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
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
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
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
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
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
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
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