Address tester feedback: snackbar, filter dialog, text scaling

- Rule-deleted snackbar now auto-dismisses (persist: false) and snackbar
  actions use a high-contrast colour in both themes
- Add-rule dialog keeps the floating label visible with the keyboard up
- Dismiss focus/keyboard before swapping tab routes
- Repeater status: full-width tiles on phones, no shrink-to-fit values,
  multi-part stats on separate lines, drop "0 days" from durations
- App bar titles respect the system font size instead of scaling down;
  contacts controls grow with text scale; larger nav labels
- Fix duplicated flood value in Japanese duplicates string
This commit is contained in:
zjs81 committed 2026-11-06 21:00:12 -07:00
1 parent 394df3109b
commit 03495effe6
49 files changed
+304 -39

No files matched your search

+19 -23
View File
@@ -243,7 +243,7 @@ class StatTile extends StatelessWidget {
label.toUpperCase(),
style: MeshTheme.accentLabel(
color: scheme.onSurfaceVariant,
fontSize: 12,
fontSize: 14,
),
maxLines: 2,
overflow: TextOverflow.ellipsis,
@@ -252,30 +252,26 @@ class StatTile extends StatelessWidget {
],
),
const SizedBox(height: 6),
FittedBox(
fit: BoxFit.scaleDown,
alignment: AlignmentDirectional.centerStart,
child: Text.rich(
TextSpan(
text: value,
style: MeshTheme.mono(
fontSize: 17,
fontWeight: FontWeight.w600,
color: scheme.onSurface,
),
children: [
if (unit != null)
TextSpan(
text: ' $unit',
style: MeshTheme.mono(
fontSize: 12,
color: scheme.onSurfaceVariant,
),
),
],
Text.rich(
TextSpan(
text: value,
style: MeshTheme.mono(
fontSize: 20,
fontWeight: FontWeight.w600,
color: scheme.onSurface,
),
maxLines: 1,
children: [
if (unit != null)
TextSpan(
text: ' $unit',
style: MeshTheme.mono(
fontSize: 12,
color: scheme.onSurfaceVariant,
),
),
],
),
softWrap: true,
),
],
),