From b6a9331ba3b943509219fc6d7671aca7c4a65e2f Mon Sep 17 00:00:00 2001 From: atsunatsu Date: Wed, 9 Sep 2026 02:50:31 +0800 Subject: [PATCH] =?UTF-8?q?refactor(map):=20drop=20redundant=20'All'=20awa?= =?UTF-8?q?rd=20chip=20=E2=80=94=20VUCC=20already=20shows=20plain=20worked?= =?UTF-8?q?-grid=20view?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/res/values-zh/strings.xml | 1 - core/presentation/src/main/res/values/strings.xml | 1 - .../rtbishop/look4sat/feature/map/MapScreen.kt | 15 ++------------- 3 files changed, 2 insertions(+), 15 deletions(-) diff --git a/core/presentation/src/main/res/values-zh/strings.xml b/core/presentation/src/main/res/values-zh/strings.xml index 07aae8f9..becca72c 100644 --- a/core/presentation/src/main/res/values-zh/strings.xml +++ b/core/presentation/src/main/res/values-zh/strings.xml @@ -109,7 +109,6 @@ 下一个 网格模式 卫星模式 - 全部 方位角:%.1f° 仰角:%.1f° 高度:%.0f km diff --git a/core/presentation/src/main/res/values/strings.xml b/core/presentation/src/main/res/values/strings.xml index a4eeb316..192cc876 100644 --- a/core/presentation/src/main/res/values/strings.xml +++ b/core/presentation/src/main/res/values/strings.xml @@ -133,7 +133,6 @@ © OpenStreetMap contributors Grid mode Satellite mode - All Azimuth: %.1f° Elevation: %.1f° Altitude: %.0f km diff --git a/feature/map/src/main/java/com/rtbishop/look4sat/feature/map/MapScreen.kt b/feature/map/src/main/java/com/rtbishop/look4sat/feature/map/MapScreen.kt index 861b6066..5064d1fb 100644 --- a/feature/map/src/main/java/com/rtbishop/look4sat/feature/map/MapScreen.kt +++ b/feature/map/src/main/java/com/rtbishop/look4sat/feature/map/MapScreen.kt @@ -535,19 +535,8 @@ private fun AwardChipsRow( horizontalArrangement = Arrangement.spacedBy(6.dp), modifier = Modifier.fillMaxWidth() ) { - item { - FilterChip( - selected = selected == null, - onClick = { onSelect(null) }, - label = { - Text( - text = stringResource(R.string.map_award_all), - fontSize = 12.sp - ) - }, - colors = FilterChipDefaults.filterChipColors() - ) - } + // No "All" chip: it was redundant with VUCC — both show the plain + // worked-grid map (VUCC never enters the boundary-overlay mode). items(progress) { p -> FilterChip( selected = selected == p.type,