Filters: Fix label with single value pickers
Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
468d89b983
commit
76a0262a14
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ struct FilterLabelView: View {
|
|||
FilterAmountLabelView(amount: count)
|
||||
}
|
||||
|
||||
Text(count == 1 ? name ?? fallbackName : fallbackName)
|
||||
Text(count ?? 1 == 1 ? name ?? fallbackName : fallbackName)
|
||||
.opacity(count ?? 0 > 0 ? 1 : 0.6)
|
||||
.foregroundColor(count ?? 0 > 0 && colorScheme == .light ? .accentColor : .primary)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue