mirror of
https://github.com/rt-bishop/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
Merged RadarScreen and RadioControlScreen functionality
This commit is contained in:
1 parent
22607e7710
commit
18c8ac1822
15 files changed
+1059
-898
No files matched your search
+1
-1
@@ -64,7 +64,7 @@ class RadioTrackingService(
|
||||
Log.i(tag, "Connecting TX=$txAddr RX=$rxAddr")
|
||||
|
||||
if (txAddr.isBlank() && rxAddr.isBlank()) {
|
||||
_state.update { it.copy(errorMessage = "No radio addresses configured. Set them in Settings → FT-817.") }
|
||||
_state.update { it.copy(errorMessage = "No radio addresses configured in Settings") }
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
@@ -32,9 +32,6 @@ sealed class Screen(val iconResId: Int, val titleResId: Int) : NavKey {
|
||||
@Serializable
|
||||
data object Radar : Screen(R.drawable.ic_radar, R.string.nav_radar)
|
||||
|
||||
@Serializable
|
||||
data object RadioControl : Screen(0, 0)
|
||||
|
||||
@Serializable
|
||||
data object Map : Screen(R.drawable.ic_map, R.string.nav_map)
|
||||
|
||||
|
||||
Reference in new issue
Block a user