|
@@ -39,6 +39,7 @@
|
|
|
BOOL canShareType;
|
|
|
|
|
|
BOOL isDefaultTabType;//默认云机
|
|
|
+ BOOL isSecondTabType;//点击了未安装应用
|
|
|
}
|
|
|
@property (nonatomic, strong) UITableView *tableView;
|
|
|
|
|
@@ -574,13 +575,15 @@
|
|
|
{
|
|
|
self.appInstallTypeV.hidden = !isDefaultTabType;
|
|
|
|
|
|
- if(isDefaultTabType){
|
|
|
+ if(isDefaultTabType && !isSecondTabType){
|
|
|
_curInstalledAppListMod = _getInstalledAppListMod;
|
|
|
+ self.curEditTypeBottomView.isCanDeleteType = NO;
|
|
|
}
|
|
|
else{
|
|
|
_curInstalledAppListMod = _getUninstalledAppListMod;
|
|
|
+ self.curEditTypeBottomView.isCanDeleteType = YES;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
[self.tableView reloadData];
|
|
|
|
|
|
[self.tableView mas_remakeConstraints:^(MASConstraintMaker *make) {
|
|
@@ -1192,15 +1195,20 @@
|
|
|
- (void)didClickHeadTabButtonFun:(NSInteger)tag
|
|
|
{
|
|
|
if(tag == 1){
|
|
|
- _curInstalledAppListMod = _getInstalledAppListMod;
|
|
|
- self.curEditTypeBottomView.isCanDeleteType = NO;
|
|
|
+// _curInstalledAppListMod = _getInstalledAppListMod;
|
|
|
+// self.curEditTypeBottomView.isCanDeleteType = NO;
|
|
|
+
|
|
|
+ isSecondTabType = NO;
|
|
|
}
|
|
|
else{
|
|
|
- _curInstalledAppListMod = _getUninstalledAppListMod;
|
|
|
- self.curEditTypeBottomView.isCanDeleteType = YES;
|
|
|
+// _curInstalledAppListMod = _getUninstalledAppListMod;
|
|
|
+// self.curEditTypeBottomView.isCanDeleteType = YES;
|
|
|
+ isSecondTabType = YES;
|
|
|
}
|
|
|
|
|
|
- [_tableView reloadData];
|
|
|
+ //[_tableView reloadData];
|
|
|
+
|
|
|
+ [self RefreshAllUIFun];
|
|
|
}
|
|
|
@end
|
|
|
|