mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 21:27:43 +02:00
feat(YouTube - Shorts components): Add Restore old player layout
setting (YouTube 18.29.38 ~ 19.16.39)
This commit is contained in:
@ -207,4 +207,8 @@ public class ShortsPatch {
|
||||
);
|
||||
}
|
||||
|
||||
public static boolean restoreShortsOldPlayerLayout() {
|
||||
return !Settings.RESTORE_SHORTS_OLD_PLAYER_LAYOUT.get();
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -492,6 +492,7 @@ public class Settings extends BaseSettings {
|
||||
public static final BooleanSetting HIDE_SHORTS_NAVIGATION_BAR = new BooleanSetting("revanced_hide_shorts_navigation_bar", FALSE, true);
|
||||
public static final IntegerSetting SHORTS_NAVIGATION_BAR_HEIGHT_PERCENTAGE = new IntegerSetting("revanced_shorts_navigation_bar_height_percentage", 45, true, parent(HIDE_SHORTS_NAVIGATION_BAR));
|
||||
public static final BooleanSetting REPLACE_CHANNEL_HANDLE = new BooleanSetting("revanced_replace_channel_handle", FALSE, true);
|
||||
public static final BooleanSetting RESTORE_SHORTS_OLD_PLAYER_LAYOUT = new BooleanSetting("revanced_restore_shorts_old_player_layout", FALSE, true);
|
||||
|
||||
// PreferenceScreen: Swipe controls
|
||||
public static final BooleanSetting ENABLE_SWIPE_BRIGHTNESS = new BooleanSetting("revanced_enable_swipe_brightness", TRUE, true);
|
||||
|
Reference in New Issue
Block a user