mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor: migrate QuickChat to Compose (#1419)
This commit is contained in:
parent
4855576248
commit
475e9fc22c
7 changed files with 375 additions and 362 deletions
|
|
@ -6,10 +6,10 @@ import androidx.room.PrimaryKey
|
|||
|
||||
@Entity(tableName = "quick_chat")
|
||||
data class QuickChatAction(
|
||||
@PrimaryKey(autoGenerate = true) val uuid: Long,
|
||||
@ColumnInfo(name = "name") val name: String,
|
||||
@ColumnInfo(name = "message") val message: String,
|
||||
@ColumnInfo(name = "mode") val mode: Mode,
|
||||
@PrimaryKey(autoGenerate = true) val uuid: Long = 0L,
|
||||
@ColumnInfo(name = "name") val name: String = "",
|
||||
@ColumnInfo(name = "message") val message: String = "",
|
||||
@ColumnInfo(name = "mode") val mode: Mode = Mode.Instant,
|
||||
@ColumnInfo(name = "position") val position: Int
|
||||
) {
|
||||
enum class Mode {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue