set keep last-modified to true by default

This commit is contained in:
tibbi 2017-10-28 18:06:03 +02:00
parent 0467626712
commit f0fe24a720

View file

@ -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()
}