|
|
@@ -69,7 +69,7 @@
|
|
|
[_tableView setTableFooterView:[UIView new]];
|
|
|
[_tableView setBounces:YES];
|
|
|
|
|
|
- _tableView.scrollEnabled = NO;
|
|
|
+ //_tableView.scrollEnabled = NO;
|
|
|
|
|
|
if (@available(iOS 15.0, *)) {
|
|
|
_tableView.sectionHeaderTopPadding = 0;
|
|
|
@@ -441,7 +441,8 @@
|
|
|
|
|
|
#pragma mark - 列表委托
|
|
|
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
|
|
|
- return 3;
|
|
|
+ return 2;
|
|
|
+ //return 3;
|
|
|
}
|
|
|
|
|
|
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
|
|
|
@@ -588,6 +589,13 @@
|
|
|
}
|
|
|
else if(row == 1){
|
|
|
[HWDataManager setBoolWithKey:stringKeyAddSn(Const_file_Transfe_working_background) value:SwitchOn];
|
|
|
+
|
|
|
+ if(SwitchOn){
|
|
|
+ [[iToast makeText:NSLocalizedString(@"File_Transfer_background_working_open",nil)] show];
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ [[iToast makeText:NSLocalizedString(@"File_Transfer_background_working_close",nil)] show];
|
|
|
+ }
|
|
|
}
|
|
|
else if(row == 2){
|
|
|
[HWDataManager setBoolWithKey:stringKeyAddSn(Const_file_Transfe_full_speed) value:SwitchOn];
|