fix(backup): Pending stat goes gray when 0, orange only when items need backup

Orange on "0 Pending" implied an active warning state when everything was
already backed up. Now dims to inkQuaternary at 0, returns to orange when
there are actually pending items.

Co-Authored-By: Kutesir <kutesir@provoc.ug>
Co-Authored-By: Sentry <sentry@provoc.ug>
This commit is contained in:
Robin Kutesa
2026-05-26 12:33:06 +03:00
parent 5602ca8e6a
commit 920888efc1

View File

@@ -385,7 +385,9 @@ struct BackupView: View {
compactStat( compactStat(
"\(notBackedUpDisplayCount)", "\(notBackedUpDisplayCount)",
label: "Pending", label: "Pending",
color: Color(red: 1.0, green: 0.62, blue: 0.0) color: notBackedUpDisplayCount > 0
? Color(red: 1.0, green: 0.62, blue: 0.0)
: AppTheme.inkQuaternary
) )
statDivider statDivider
compactStat( compactStat(