mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-13 22:52:26 +00:00
disabled hightlichting to make the button look like a badge
This commit is contained in:
@@ -66,6 +66,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)_updateCountDisplay {
|
- (void)_updateCountDisplay {
|
||||||
|
[((NSButtonCell *)self.countButton.cell) setHighlightsBy:0];
|
||||||
self.countButton.title = [NSString stringWithFormat:@"%ld", _count];
|
self.countButton.title = [NSString stringWithFormat:@"%ld", _count];
|
||||||
self.countButton.hidden = (self.hideZeroCount && self.count == 0);
|
self.countButton.hidden = (self.hideZeroCount && self.count == 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user