File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed
Xcodes/Frontend/XcodeList Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -34,25 +34,13 @@ struct MainToolbarModifier: ViewModifier {
3434 case . all:
3535 Label ( " All " , systemImage: " line.horizontal.3.decrease.circle " )
3636 case . release:
37- if #available( macOS 11 . 3 , * ) {
3837 Label ( " ReleaseOnly " , systemImage: " line.horizontal.3.decrease.circle.fill " )
39- . labelStyle ( TitleAndIconLabelStyle ( ) )
38+ . labelStyle ( . trailingIcon )
4039 . foregroundColor ( . accentColor)
41- } else {
42- Label ( " ReleaseOnly " , systemImage: " line.horizontal.3.decrease.circle.fill " )
43- . labelStyle ( TitleOnlyLabelStyle ( ) )
44- . foregroundColor ( . accentColor)
45- }
4640 case . beta:
47- if #available( macOS 11 . 3 , * ) {
48- Label ( " BetaOnly " , systemImage: " line.horizontal.3.decrease.circle.fill " )
49- . labelStyle ( TitleAndIconLabelStyle ( ) )
50- . foregroundColor ( . accentColor)
51- } else {
52- Label ( " BetaOnly " , systemImage: " line.horizontal.3.decrease.circle.fill " )
53- . labelStyle ( TitleOnlyLabelStyle ( ) )
54- . foregroundColor ( . accentColor)
55- }
41+ Label ( " BetaOnly " , systemImage: " line.horizontal.3.decrease.circle.fill " )
42+ . labelStyle ( . trailingIcon)
43+ . foregroundColor ( . accentColor)
5644 }
5745 }
5846 . help ( " FilterAvailableDescription " )
You can’t perform that action at this time.
0 commit comments