Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
[client] use a set to hold the status bars instead of an array
Browse files Browse the repository at this point in the history
  • Loading branch information
kirb committed Aug 19, 2016
1 parent d87e95e commit 7f199c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/HBTSStatusBarAlertController.x
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@end

@implementation HBTSStatusBarAlertController {
NSMutableArray *_statusBars;
NSMutableSet *_statusBars;

BOOL _visible;
NSString *_currentIconName;
Expand All @@ -44,7 +44,7 @@
self = [super init];

if (self) {
_statusBars = [[NSMutableArray alloc] init];
_statusBars = [[NSMutableSet alloc] init];

[[NSDistributedNotificationCenter defaultCenter] addObserver:self selector:@selector(_receivedStatusNotification:) name:HBTSClientSetStatusBarNotification object:nil];
}
Expand Down

0 comments on commit 7f199c9

Please sign in to comment.