点击@人消息后,底部还有消息时显示提示按钮
This commit is contained in:
@@ -123,6 +123,9 @@ NSString * const kRoomShowTopicKey = @"kRoomShowTopicKey";
|
||||
[self.locationArray removeObjectAtIndex:0];
|
||||
self.atCount -= 1;
|
||||
[self.atTipBtn setTitle:[NSString stringWithFormat:@"有%lu人@你", (unsigned long)self.locationArray.count] forState:UIControlStateNormal];
|
||||
if (self.locationArray.count == 0) {
|
||||
self.atTipBtn.hidden = YES;
|
||||
}
|
||||
} else {
|
||||
self.atTipBtn.hidden = YES;
|
||||
}
|
||||
@@ -192,6 +195,9 @@ NSString * const kRoomShowTopicKey = @"kRoomShowTopicKey";
|
||||
[self.locationArray removeObjectAtIndex:0];
|
||||
self.atCount -= 1;
|
||||
[self.atTipBtn setTitle:[NSString stringWithFormat:@"有%lu人@你", (unsigned long)self.locationArray.count] forState:UIControlStateNormal];
|
||||
if (self.locationArray.count == 0) {
|
||||
self.atTipBtn.hidden = YES;
|
||||
}
|
||||
} else {
|
||||
self.atTipBtn.hidden = YES;
|
||||
}
|
||||
|
Reference in New Issue
Block a user