fix order of lock screen timeout in settings

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2022-11-29 15:57:57 +01:00 committed by Marcel Hibbe (Rebase PR Action)
parent e0f50fc9b5
commit 9af3ffa784

View File

@ -197,6 +197,14 @@
apc:cardElevation="0dp" apc:cardElevation="0dp"
apc:mpc_title="@string/nc_settings_privacy"> apc:mpc_title="@string/nc_settings_privacy">
<com.yarolegovich.mp.MaterialSwitchPreference
android:id="@+id/settings_screen_lock"
android:layout_width="match_parent"
android:layout_height="wrap_content"
apc:mp_default_value="@bool/value_false"
apc:mp_key="@string/nc_settings_screen_lock_key"
apc:mp_title="@string/nc_settings_screen_lock_title" />
<com.yarolegovich.mp.MaterialChoicePreference <com.yarolegovich.mp.MaterialChoicePreference
android:id="@+id/settings_screen_lock_timeout" android:id="@+id/settings_screen_lock_timeout"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -208,14 +216,6 @@
apc:mp_show_value="onBottom" apc:mp_show_value="onBottom"
apc:mp_title="@string/nc_settings_screen_lock_timeout_title" /> apc:mp_title="@string/nc_settings_screen_lock_timeout_title" />
<com.yarolegovich.mp.MaterialSwitchPreference
android:id="@+id/settings_screen_lock"
android:layout_width="match_parent"
android:layout_height="wrap_content"
apc:mp_default_value="@bool/value_false"
apc:mp_key="@string/nc_settings_screen_lock_key"
apc:mp_title="@string/nc_settings_screen_lock_title" />
<com.yarolegovich.mp.MaterialSwitchPreference <com.yarolegovich.mp.MaterialSwitchPreference
android:id="@+id/settings_screen_security" android:id="@+id/settings_screen_security"
android:layout_width="match_parent" android:layout_width="match_parent"