Skip to content

Commit 5c03ffd

Browse files
eriedclaude
andcommitted
fix(dashboard): trip meter button reads "Reset", not "Reset trip meter"
The screen is already titled "Trip meter", so the button phrase was redundant. Reuse the existing localized action_reset ("Reset"). The confirm dialog keeps the full "Reset trip meter" title and the danger copy. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GADLyChheAoMX9dQbRgRnH
1 parent 2de29fa commit 5c03ffd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

app/src/main/java/com/eried/eucplanet/ui/dashboard/TripMeterDetailScreen.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,10 @@ fun TripMeterDetailScreen(
256256
tint = accent
257257
)
258258
Text(
259-
stringResource(R.string.trip_meter_reset),
259+
// Screen is already titled "Trip meter", so the button
260+
// just reads "Reset" (the confirm dialog carries the full
261+
// "Reset trip meter" title + the danger copy).
262+
stringResource(R.string.action_reset),
260263
color = accent,
261264
fontWeight = FontWeight.Medium,
262265
fontSize = 13.sp,

0 commit comments

Comments
 (0)