mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2024-12-25 07:50:56 +01:00
Merge remote-tracking branch 'origin/default_view' into default_view
This commit is contained in:
commit
ab920bea50
@ -78,7 +78,7 @@ class Config(context: Context) : BaseConfig(context) {
|
||||
|
||||
var defaultView: Int
|
||||
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
|
||||
get() = prefs.getBoolean(CALDAV_SYNC, false)
|
||||
|
Loading…
Reference in New Issue
Block a user