Fix that double tap to seek is shown as false by default

This commit is contained in:
Bnyro 2023-01-04 18:54:34 +01:00
parent c5a543bdf0
commit acd925c733
2 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -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"