mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
Implement concise view for timer
- implement EditTimerDialog - adding a new timer would show the dialog - clicking on a timer item would show the dialog
This commit is contained in:
@ -5,13 +5,13 @@ import androidx.room.PrimaryKey
|
||||
|
||||
@Entity(tableName = "timers")
|
||||
data class Timer(
|
||||
@PrimaryKey(autoGenerate = true) val id: Long?,
|
||||
val seconds: Int,
|
||||
@PrimaryKey(autoGenerate = true) var id: Long?,
|
||||
var seconds: Int,
|
||||
val state: TimerState,
|
||||
val vibrate: Boolean,
|
||||
val soundUri: String,
|
||||
val soundTitle: String,
|
||||
val label: String,
|
||||
val createdAt: Long,
|
||||
val channelId: String? = null,
|
||||
var vibrate: Boolean,
|
||||
var soundUri: String,
|
||||
var soundTitle: String,
|
||||
var label: String,
|
||||
var createdAt: Long,
|
||||
var channelId: String? = null,
|
||||
)
|
||||
|
Reference in New Issue
Block a user