Merge remote-tracking branch 'origin/default_view' into default_view

This commit is contained in:
knusprig 2018-10-23 08:04:11 +02:00
commit ab920bea50

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)