fix(Hide ads): Change the default value of Hide fullscreen ads to false and add limitations to the description (Close https://github.com/inotia00/ReVanced_Extended/issues/2812)

This commit is contained in:
inotia00
2025-03-06 11:58:14 +09:00
parent e41bad3f35
commit 1cfe69ab47
3 changed files with 6 additions and 3 deletions

View File

@ -51,7 +51,7 @@ public class BaseSettings {
/**
* These settings are used by YouTube and YouTube Music.
*/
public static final BooleanSetting HIDE_FULLSCREEN_ADS = new BooleanSetting("revanced_hide_fullscreen_ads", TRUE, true);
public static final BooleanSetting HIDE_FULLSCREEN_ADS = new BooleanSetting("revanced_hide_fullscreen_ads", FALSE, true);
public static final BooleanSetting HIDE_PROMOTION_ALERT_BANNER = new BooleanSetting("revanced_hide_promotion_alert_banner", TRUE);
public static final BooleanSetting DISABLE_AUTO_CAPTIONS = new BooleanSetting("revanced_disable_auto_captions", FALSE, true);

View File

@ -194,7 +194,7 @@ val adsPatch = bytecodePatch(
addSwitchPreference(
CategoryType.ADS,
"revanced_hide_fullscreen_ads",
"true"
"false"
)
addSwitchPreference(
CategoryType.ADS,

View File

@ -63,7 +63,10 @@ Please download %2$s from the website."</string>
<string name="revanced_preference_screen_ads_title">Ads</string>
<string name="revanced_hide_fullscreen_ads_title">Hide fullscreen ads</string>
<string name="revanced_hide_fullscreen_ads_summary">Hides fullscreen ads.</string>
<string name="revanced_hide_fullscreen_ads_summary">"Hides fullscreen ads.
Limitations:
• Sometimes you may see a blank black screen instead of the home feed."</string>
<string name="revanced_fullscreen_ads_closed_toast">Fullscreen ads are closed.</string>
<string name="revanced_hide_general_ads_title">Hide general ads</string>
<string name="revanced_hide_general_ads_summary">Hides general ads.</string>