Skip to content

Commit

Permalink
feat: hide-email-address patch (#149)
Browse files Browse the repository at this point in the history
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
  • Loading branch information
OxrxL and oSumAtrIX committed Sep 28, 2022
1 parent 11fbf1a commit 4cc8a22
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package app.revanced.integrations.patches;

import app.revanced.integrations.settings.SettingsEnum;

public class HideEmailAddressPatch {
//Used by app.revanced.patches.youtube.layout.personalinformation.patch.HideEmailAddressPatch
public static boolean hideEmailAddress() {
return SettingsEnum.HIDE_EMAIL_ADDRESS.getBoolean();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public enum SettingsEnum {
FULLSCREEN_PANELS_SHOWN("revanced_fullscreen_panels_enabled", false, ReturnType.BOOLEAN), //ToDo: Add to prefs
PLAYER_POPUP_PANELS("revanced_player_popup_panels_enabled", false, ReturnType.BOOLEAN),
HIDE_TIME_AND_SEEKBAR("revanced_hide_time_and_seekbar", false, ReturnType.BOOLEAN),
HIDE_EMAIL_ADDRESS("revanced_hide_email_address", true, ReturnType.BOOLEAN),

//Misc. Settings
CAPTIONS_ENABLED("revanced_autocaptions_enabled", false, ReturnType.BOOLEAN, false),
Expand Down

0 comments on commit 4cc8a22

Please sign in to comment.