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:
@@ -385,7 +385,9 @@ struct BackupView: View {
|
||||
compactStat(
|
||||
"\(notBackedUpDisplayCount)",
|
||||
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
|
||||
compactStat(
|
||||
|
||||
Reference in New Issue
Block a user