From f0fe24a72081d8708b1df4500ee76de3922bcc77 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 28 Oct 2017 18:06:03 +0200 Subject: [PATCH] set keep last-modified to true by default --- .../kotlin/com/simplemobiletools/commons/helpers/BaseConfig.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/helpers/BaseConfig.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/helpers/BaseConfig.kt index 294340ce5..b2b846da2 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/helpers/BaseConfig.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/helpers/BaseConfig.kt @@ -77,6 +77,6 @@ open class BaseConfig(val context: Context) { set(protectionType) = prefs.edit().putInt(PROTECTION_TYPE, protectionType).apply() var keepLastModified: Boolean - get() = prefs.getBoolean(KEEP_LAST_MODIFIED, false) + get() = prefs.getBoolean(KEEP_LAST_MODIFIED, true) set(keepLastModified) = prefs.edit().putBoolean(KEEP_LAST_MODIFIED, keepLastModified).apply() }