File tree Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -46,17 +46,20 @@ class Claim: Hashable {
46
46
let item = NSMenuItem ( title: title, action: nil , keyEquivalent: " " )
47
47
let submenu = NSMenu ( )
48
48
for check in checksSorted {
49
- if check. isRunnableCached ( ) {
50
- submenu. addItem ( check. menu ( ) )
51
- if Defaults [ . snoozeTime] > 0 {
52
- item. image = NSImage . SF ( name: " shield.fill " ) . tint ( color: . systemGray)
53
- } else {
54
- if checksPassed && checksNoError {
55
- item. image = NSImage . SF ( name: " checkmark.circle.fill " ) . tint ( color: Defaults . OKColor ( ) )
56
- } else {
57
- item. image = NSImage . SF ( name: " xmark.diamond.fill " ) . tint ( color: Defaults . FailColor ( ) )
58
- }
59
- }
49
+ let checkMenuItem = check. menu ( )
50
+
51
+ // Always add the check to the menu
52
+ submenu. addItem ( checkMenuItem)
53
+ }
54
+
55
+ // Set the claim icon based on overall status
56
+ if Defaults [ . snoozeTime] > 0 {
57
+ item. image = NSImage . SF ( name: " shield.fill " ) . tint ( color: . systemGray)
58
+ } else {
59
+ if checksPassed && checksNoError {
60
+ item. image = NSImage . SF ( name: " checkmark.circle.fill " ) . tint ( color: Defaults . OKColor ( ) )
61
+ } else {
62
+ item. image = NSImage . SF ( name: " xmark.diamond.fill " ) . tint ( color: Defaults . FailColor ( ) )
60
63
}
61
64
}
62
65
Original file line number Diff line number Diff line change 26
26
</dict >
27
27
</array >
28
28
<key >CFBundleVersion </key >
29
- <string >6134 </string >
29
+ <string >6140 </string >
30
30
<key >LSApplicationCategoryType </key >
31
31
<string >public.app-category.utilities </string >
32
32
<key >LSMinimumSystemVersion </key >
You can’t perform that action at this time.
0 commit comments