修复了礼物面板贵族开通不会滚动的问题

This commit is contained in:
fengshuo
2023-03-15 18:11:39 +08:00
parent cfc8ed0922
commit b6c880bbab
5 changed files with 35 additions and 51 deletions

View File

@@ -399,7 +399,7 @@ NSString * const kMessageShowReadDotKey = @"kMessageShowReadDotKey";
if (value > 0) {
[self.tabBarController.tabBar.items[3] setBadgeValue:[NSString stringWithFormat:@"%ld", value]];
} else {
[self.tabBarController.tabBar.items[3] setBadgeValue:@"0"];
[self.tabBarController.tabBar.items[3] setBadgeValue:nil];
}
}