房间完成

This commit is contained in:
启星
2025-12-01 18:42:49 +08:00
parent 7eb4f8d3b8
commit 2d37ab6844
55 changed files with 653 additions and 41 deletions

View File

@@ -210,11 +210,21 @@
[weakSelf.collectionView reloadData];
} failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
showToast(msg);
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[weakSelf getCoinList];
});
}];
}
-(void)refreshCoinList{
[self getCoinList];
-(void)refreshCoinListWith:(NSArray *)coinList{
[self getMyWallet];
[self.dataArray removeAllObjects];
for (NSString*title in coinList) {
QXRoomRelationModel *md = [[QXRoomRelationModel alloc] init];
md.name = title;
[self.dataArray addObject:md];
}
[self.collectionView reloadData];
}
-(void)showInView:(UIView *)view{
[self getCoinList];