mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
chore: prepare new strings for translation
This commit is contained in:
parent
95120ee208
commit
4a9be026e2
7 changed files with 27 additions and 27 deletions
|
|
@ -71,9 +71,6 @@ class NodeDB @Inject constructor(
|
|||
|
||||
fun myNodeInfoFlow(): Flow<MyNodeInfo?> = nodeInfoDao.getMyNodeInfo()
|
||||
|
||||
fun delNode(num: Int) {
|
||||
nodeInfoDao.delNode(num)
|
||||
}
|
||||
suspend fun upsert(node: NodeInfo) = withContext(Dispatchers.IO) {
|
||||
nodeInfoDao.upsert(node)
|
||||
}
|
||||
|
|
@ -86,4 +83,8 @@ class NodeDB @Inject constructor(
|
|||
putAll(nodes)
|
||||
}
|
||||
}
|
||||
|
||||
suspend fun deleteNode(num: Int) = withContext(Dispatchers.IO) {
|
||||
nodeInfoDao.deleteNode(num)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue