From 368bd199e5dbb62f0d0ad1af39bec6682908dd16 Mon Sep 17 00:00:00 2001 From: QIU Date: Mon, 3 Aug 2026 09:33:40 +0000 Subject: [PATCH] fix: station panel layout wraps QTH to its own line With 5-decimal coordinates the Lat/Lon/Qth row overflowed, pushing the QTH value to a wrapped line. Split into two rows: Lat + Lon on the first line, Qth on the second. Also append BA7OPF (pass matching feature) and BG7NTA to the credits list in en/zh/tr string resources. --- core/presentation/src/main/res/values-tr/strings.xml | 4 +++- core/presentation/src/main/res/values-zh/strings.xml | 4 +++- core/presentation/src/main/res/values/strings.xml | 2 ++ .../com/rtbishop/look4sat/feature/settings/SettingsScreen.kt | 2 ++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/core/presentation/src/main/res/values-tr/strings.xml b/core/presentation/src/main/res/values-tr/strings.xml index 7e65fb7b..23d5d9ca 100644 --- a/core/presentation/src/main/res/values-tr/strings.xml +++ b/core/presentation/src/main/res/values-tr/strings.xml @@ -199,7 +199,9 @@ \n• Dave Moten (predict4java) \n• Alexandru Csete (Gpredict) \n• Dr T.S. Kelso (Celestrak) - \n• Libre Space Foundation (SatNOGS) + \n• Libre Space Foundation (SatNOGS) + \n• BA7OPF (pass matching feature) + \n• BG7NTA Bu uygulama herhangi bir garanti sunmaz diff --git a/core/presentation/src/main/res/values-zh/strings.xml b/core/presentation/src/main/res/values-zh/strings.xml index 220613c1..14a3dd6b 100644 --- a/core/presentation/src/main/res/values-zh/strings.xml +++ b/core/presentation/src/main/res/values-zh/strings.xml @@ -175,7 +175,9 @@ \n• Alexandru Csete (Gpredict) \n• Dr T.S. Kelso (Celestrak) \n• Libre Space Foundation (SatNOGS) - \n• xdsopl 和 Robot36 贡献者! + \n• xdsopl 和 Robot36 贡献者! + \n• BA7OPF(过境匹配功能) + \n• BG7NTA 该应用程序不提供任何保修. diff --git a/core/presentation/src/main/res/values/strings.xml b/core/presentation/src/main/res/values/strings.xml index 45d2981b..6e6fb59d 100644 --- a/core/presentation/src/main/res/values/strings.xml +++ b/core/presentation/src/main/res/values/strings.xml @@ -211,6 +211,8 @@ \n* Dr T.S. Kelso (Celestrak) \n* Libre Space Foundation (SatNOGS) \n* xdsopl and Robot36 contributors! + \n* BA7OPF (pass matching feature) + \n* BG7NTA The app comes with no warranty diff --git a/feature/settings/src/main/java/com/rtbishop/look4sat/feature/settings/SettingsScreen.kt b/feature/settings/src/main/java/com/rtbishop/look4sat/feature/settings/SettingsScreen.kt index e4c9e2b0..ebfefc44 100644 --- a/feature/settings/src/main/java/com/rtbishop/look4sat/feature/settings/SettingsScreen.kt +++ b/feature/settings/src/main/java/com/rtbishop/look4sat/feature/settings/SettingsScreen.kt @@ -339,6 +339,8 @@ private fun LocationCard( Row(horizontalArrangement = Arrangement.SpaceBetween, modifier = Modifier.fillMaxWidth()) { Text(text = "Lat: ${settings.stationPos.latitude}°") Text(text = "Lon: ${settings.stationPos.longitude}°") + } + Row(horizontalArrangement = Arrangement.SpaceBetween, modifier = Modifier.fillMaxWidth()) { Text(text = "Qth: ${settings.stationPos.qthLocator}") } Spacer(modifier = Modifier.height(1.dp))