|
@@ -23,6 +23,7 @@
|
|
|
@interface NasSearchAppViewController ()<UITableViewDelegate,UITableViewDataSource,DZNEmptyDataSetSource, DZNEmptyDataSetDelegate>
|
|
|
{
|
|
|
BOOL canShareType;
|
|
|
+ BOOL canInstallTVType;
|
|
|
}
|
|
|
@property (nonatomic, strong) UITableView *tableView;
|
|
|
|
|
@@ -355,6 +356,12 @@
|
|
|
|
|
|
if(_didSelectListArr.count > 0){
|
|
|
[self setViewEditTypeFun];
|
|
|
+ if(_didSelectListArr.count == 1){
|
|
|
+ self.curEditTypeBottomView.isCanInstallToTVType = canInstallTVType;
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ self.curEditTypeBottomView.isCanInstallToTVType = NO;
|
|
|
+ }
|
|
|
}
|
|
|
else{
|
|
|
[self userCancelEditTypeFun];
|
|
@@ -662,8 +669,8 @@
|
|
|
[[netWorkManager shareInstance] CommonGetWithCallBackCode:querySwitchButton Parameters:paraDict success:^(id _Nonnull responseObject){
|
|
|
queryShareModel *queryShareMod = [[queryShareModel alloc] initWithDictionary:responseObject error:nil];
|
|
|
if(queryShareMod){
|
|
|
- BOOL canInstallToTVType = queryShareMod.data.configValue;
|
|
|
- weakSelf.curEditTypeBottomView.isCanInstallToTVType = canInstallToTVType;
|
|
|
+ self->canInstallTVType = queryShareMod.data.configValue;
|
|
|
+ weakSelf.curEditTypeBottomView.isCanInstallToTVType = self->canInstallTVType;
|
|
|
}
|
|
|
|
|
|
} failure:^(NSError * _Nonnull error) {
|