浏览代码

Change default lock timeout to 1 minute

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 6 年之前
父节点
当前提交
a2e9c53313

+ 1 - 1
app/src/main/java/com/nextcloud/talk/utils/preferences/AppPreferences.java

@@ -247,7 +247,7 @@ public interface AppPreferences {
     void removeLinkPreviews();
 
     @KeyByString("screen_lock_timeout")
-    @DefaultValue(R.string.nc_screen_lock_timeout_thirty)
+    @DefaultValue(R.string.nc_screen_lock_timeout_sixty)
     String getScreenLockTimeout();
 
     @KeyByString("screen_lock_timeout")

+ 1 - 1
app/src/main/res/layout/controller_settings.xml

@@ -161,7 +161,7 @@
             android:id="@+id/settings_screen_lock_timeout"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
-            apc:mp_default_value="@string/nc_screen_lock_timeout_thirty"
+            apc:mp_default_value="@string/nc_screen_lock_timeout_sixty"
             apc:mp_entry_values="@array/screen_lock_timeout_entry_values"
             apc:mp_entry_descriptions="@array/screen_lock_timeout_descriptions"
             apc:mp_key="@string/nc_settings_screen_lock_timeout_key"