Commit 8dccedeb by ludi

修复一个崩溃

parent 23d81783
...@@ -119,12 +119,13 @@ ...@@ -119,12 +119,13 @@
} }
if (FUSConfig.sharedInstanced.devConfigs.appStatus) { if (FUSConfig.sharedInstanced.devConfigs.appStatus) {
NSMutableArray *filteredList = [[NSMutableArray alloc] init];
for (FUSBaoFangAnchorModel *tempModel in resList) { for (FUSBaoFangAnchorModel *tempModel in resList) {
if (tempModel.type == 3 || tempModel.type == 5 || tempModel.type == 4) { if (tempModel.type != 3 && tempModel.type != 5 && tempModel.type != 4) {
[resList removeObject:tempModel]; [filteredList appendObject:tempModel];
} }
} }
resList = filteredList;
} }
return resList; return resList;
......
...@@ -214,7 +214,7 @@ ...@@ -214,7 +214,7 @@
//先取出原来的 //先取出原来的
NSDictionary *storeDict = [FUSCustomizedInfosStore fus_readCommonInfosWithKey:STORE_HOME_VEST_ROOM_GET_LIST]; NSDictionary *storeDict = [FUSCustomizedInfosStore fus_readCommonInfosWithKey:STORE_HOME_VEST_ROOM_GET_LIST];
NSMutableDictionary *writeStoreDict = [[NSMutableDictionary alloc] init]; NSMutableDictionary *writeStoreDict = [[NSMutableDictionary alloc] init];
if (!storeDict) { if (storeDict) {
writeStoreDict = [[NSMutableDictionary alloc] initWithDictionary:storeDict]; writeStoreDict = [[NSMutableDictionary alloc] initWithDictionary:storeDict];
} }
if ([NSString isNull:language]) { if ([NSString isNull:language]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment