Update Config.kt

This commit is contained in:
Tibor Kaputa 2018-10-22 22:24:30 +02:00 committed by GitHub
parent 66c5e68623
commit bca1c6b567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class Config(context: Context) : BaseConfig(context) {
var defaultView: Int var defaultView: Int
get() = prefs.getInt(DEFAULT_VIEW, DAILY_VIEW) get() = prefs.getInt(DEFAULT_VIEW, DAILY_VIEW)
set(size) = prefs.edit().putInt(DEFAULT_VIEW, size).apply() set(defaultView) = prefs.edit().putInt(DEFAULT_VIEW, defaultView).apply()
var caldavSync: Boolean var caldavSync: Boolean
get() = prefs.getBoolean(CALDAV_SYNC, false) get() = prefs.getBoolean(CALDAV_SYNC, false)