feat(youtube): bump patches compatibility to v17.43.36 (#194)

This commit is contained in:
OxrxL 2022-11-01 18:44:13 +01:00 committed by GitHub
parent b5a93a0cd9
commit 6da66be067
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,9 @@ 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();
public static int hideEmailAddress(int originalValue) {
if (SettingsEnum.HIDE_EMAIL_ADDRESS.getBoolean())
return 8;
return originalValue;
}
}