mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 23:40:33 +05:30
Merge pull request #2583 from Bnyro/master
Fix that double tap to seek is shown as false by default
This commit is contained in:
commit
af5ab94b90
@ -28,10 +28,7 @@ class PlayerSettings : BasePreferenceFragment() {
|
||||
findPreference<SwitchPreferenceCompat>(PreferenceKeys.AUTO_FULLSCREEN)
|
||||
|
||||
// only show the player orientation option if auto fullscreen is disabled
|
||||
playerOrientation?.isEnabled = !PreferenceHelper.getBoolean(
|
||||
PreferenceKeys.AUTO_FULLSCREEN,
|
||||
false
|
||||
)
|
||||
playerOrientation?.isEnabled = autoRotateToFullscreen?.isChecked != true
|
||||
|
||||
autoRotateToFullscreen?.setOnPreferenceChangeListener { _, newValue ->
|
||||
playerOrientation?.isEnabled = newValue != true
|
||||
|
@ -26,7 +26,7 @@
|
||||
app:title="@string/skip_buttons" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:defaultValue="true"
|
||||
android:icon="@drawable/ic_skip"
|
||||
android:summary="@string/double_tap_seek_summary"
|
||||
app:key="double_tap_seek"
|
||||
|
Loading…
x
Reference in New Issue
Block a user