mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-03-29 20:22: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.
16 lines
388 B
Kotlin
16 lines
388 B
Kotlin
/*
|
|
* Copyright (c) Kuba Szczodrzyński 2019-11-26.
|
|
*/
|
|
|
|
package pl.szczodrzynski.edziennik.config
|
|
|
|
import pl.szczodrzynski.edziennik.utils.models.Time
|
|
|
|
@Suppress("RemoveExplicitTypeArguments")
|
|
class ConfigTimetable(base: Config) {
|
|
|
|
var bellSyncMultiplier by base.config<Int>(0)
|
|
var bellSyncDiff by base.config<Time?>(null)
|
|
var countInSeconds by base.config<Boolean>(false)
|
|
}
|