mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-05 09:04:34 +02:00
feat(YouTube/Shorts components): add Height percentage of empty space
setting
This commit is contained in:
parent
2cdc05ac27
commit
4c824b458a
@ -1222,6 +1222,9 @@ Limitations:
|
||||
<string name="revanced_hide_shorts_navigation_bar_title">Hide navigation bar</string>
|
||||
<string name="revanced_hide_shorts_navigation_bar_summary_on">Navigation bar is hidden.</string>
|
||||
<string name="revanced_hide_shorts_navigation_bar_summary_off">Navigation bar is shown.</string>
|
||||
<string name="revanced_shorts_navigation_bar_height_percentage_title">Height percentage of empty space</string>
|
||||
<string name="revanced_shorts_navigation_bar_height_percentage_summary">Configures the height percentage of the empty space left when the navigation bar is hidden, between 0 and 100 (%).</string>
|
||||
<string name="revanced_shorts_navigation_bar_height_percentage_invalid_toast">Height percentage must be between 0-100 (%).</string>
|
||||
<string name="revanced_replace_channel_handle_title">Replace channel handle</string>
|
||||
<string name="revanced_replace_channel_handle_summary_on">Channel name is used.</string>
|
||||
<string name="revanced_replace_channel_handle_summary_off">Channel handle is used.</string>
|
||||
|
@ -535,6 +535,7 @@
|
||||
<!-- SETTINGS: SHORTS_COMPONENTS
|
||||
<SwitchPreference android:title="@string/revanced_hide_shorts_toolbar_title" android:key="revanced_hide_shorts_toolbar" android:summaryOn="@string/revanced_hide_shorts_toolbar_summary_on" android:summaryOff="@string/revanced_hide_shorts_toolbar_summary_off" />
|
||||
<SwitchPreference android:title="@string/revanced_hide_shorts_navigation_bar_title" android:key="revanced_hide_shorts_navigation_bar" android:summaryOn="@string/revanced_hide_shorts_navigation_bar_summary_on" android:summaryOff="@string/revanced_hide_shorts_navigation_bar_summary_off" />
|
||||
<app.revanced.integrations.shared.settings.preference.ResettableEditTextPreference android:hint="45" android:title="@string/revanced_shorts_navigation_bar_height_percentage_title" android:key="revanced_shorts_navigation_bar_height_percentage" android:summary="@string/revanced_shorts_navigation_bar_height_percentage_summary" android:inputType="number" />
|
||||
<SwitchPreference android:title="@string/revanced_replace_channel_handle_title" android:key="revanced_replace_channel_handle" android:summaryOn="@string/revanced_replace_channel_handle_summary_on" android:summaryOff="@string/revanced_replace_channel_handle_summary_off" />
|
||||
</PreferenceScreen>SETTINGS: SHORTS_COMPONENTS -->
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user