mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
feat(tak): introduce built-in Local TAK Server and mesh integration (#4951)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
parent
d1ca8ec527
commit
e249461e3c
76 changed files with 4587 additions and 64 deletions
|
|
@ -262,4 +262,13 @@ class FakeAppPreferences : AppPreferences {
|
|||
override val mapTileProvider = FakeMapTileProviderPrefs()
|
||||
override val radio = FakeRadioPrefs()
|
||||
override val mesh = FakeMeshPrefs()
|
||||
override val tak = FakeTakPrefs()
|
||||
}
|
||||
|
||||
class FakeTakPrefs : org.meshtastic.core.repository.TakPrefs {
|
||||
override val isTakServerEnabled = MutableStateFlow(false)
|
||||
|
||||
override fun setTakServerEnabled(enabled: Boolean) {
|
||||
isTakServerEnabled.value = enabled
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue