Skip to content

Commit ef02b74

Browse files
committed
Merge branch 'master' of github.com:reactnativecomponent/react-native-netease-im
2 parents f868801 + 793a5d7 commit ef02b74

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

ios/RNNeteaseIm/RNNeteaseIm/NIMModel.m

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,9 @@ -(void)setContactList:(NSMutableDictionary *)contactList{
5959
}
6060
}
6161
-(void)setNotiArr:(NSMutableArray *)notiArr{
62-
if (_notiArr != notiArr) {
63-
_notiArr = notiArr;
64-
if (self.myBlock) {
65-
self.myBlock(5, notiArr);
66-
}
62+
_notiArr = notiArr;
63+
if (self.myBlock) {
64+
self.myBlock(5, notiArr);
6765
}
6866
}
6967
-(void)setTeamArr:(NSMutableArray *)teamArr{

ios/RNNeteaseIm/RNNeteaseIm/RNNeteaseIm.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ - (void)initController{
576576
[self setSendState];
577577
[[NIMViewController initWithController] addDelegate];
578578
[[NoticeViewController initWithNoticeViewController]initWithDelegate];
579-
[[RNNotificationCenter sharedCenter] start];
579+
[RNNotificationCenter sharedCenter];
580580
}
581581

582582
-(void)setSendState{

0 commit comments

Comments
 (0)