|
@@ -143,6 +143,8 @@ NSPopoverDelegate>
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(expandPersonalCenterNotification:) name:@"ExpandPersonalCenter" object:nil];
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(closeMenu:) name:@"CloseMenuNotification" object:nil];
|
|
|
|
|
|
+ [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(memberInfoChangeNotification:) name:KMMemberInfoChangeNotification object:nil];
|
|
|
+
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(subscriptionLoadedNotification:) name:KMIAPSubscriptionLoadedNotification object:nil];
|
|
|
}
|
|
|
|
|
@@ -801,6 +803,12 @@ NSPopoverDelegate>
|
|
|
[self reloadData];
|
|
|
});
|
|
|
}
|
|
|
+- (void)memberInfoChangeNotification:(NSNotification *)noti {
|
|
|
+ dispatch_async(dispatch_get_main_queue(), ^{
|
|
|
+ [self reloadData];
|
|
|
+ });
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
- (void)popOverCloseAction {
|
|
|
if (self.stopPopOverHide == NO) {
|