mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-03-25 18:30:00 +01:00

* [App] Add base for AppData loading. * [UI] Fix timetable widget date navigation. * [UI] Migrate register-specific behavior to use AppData. * [App] Implement new delegate-based config base. * [Config] Migrate config and profile config. * [Config] Remove defaults from migrations. * [App] Apply event types and config overrides from AppData. * [Events] Change default event types for university type school.
15 lines
420 B
Kotlin
15 lines
420 B
Kotlin
/*
|
|
* Copyright (c) Kuba Szczodrzyński 2020-4-29.
|
|
*/
|
|
|
|
package pl.szczodrzynski.edziennik.config
|
|
|
|
@Suppress("RemoveExplicitTypeArguments")
|
|
class ProfileConfigAttendance(base: ProfileConfig) {
|
|
|
|
var attendancePageSelection by base.config<Int>(1)
|
|
var groupConsecutiveDays by base.config<Boolean>(true)
|
|
var showPresenceInMonth by base.config<Boolean>(false)
|
|
var useSymbols by base.config<Boolean>(false)
|
|
}
|