|
@@ -283,23 +283,23 @@
|
|
|
|
|
|
[_folderListArr addObjectsFromArray:model.data];
|
|
|
|
|
|
- NSString * backupsDefaultPath = [HWDataManager getStringWithKey:Const_photo_backups_default_path];
|
|
|
-
|
|
|
- BOOL needAddHadDefaultPath = YES;
|
|
|
-
|
|
|
- for (int i=0; i<_folderListArr.count; i++) {
|
|
|
- NSString * curPathStr = _folderListArr[i];
|
|
|
- if([curPathStr isEqualToString:backupsDefaultPath]){
|
|
|
- needAddHadDefaultPath = NO;
|
|
|
- _selectIndex = i;
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- if(needAddHadDefaultPath){
|
|
|
- [_folderListArr insertObject:backupsDefaultPath atIndex:0];
|
|
|
- _selectIndex = 0;
|
|
|
- }
|
|
|
+// NSString * backupsDefaultPath = [HWDataManager getStringWithKey:Const_photo_backups_default_path];
|
|
|
+//
|
|
|
+// BOOL needAddHadDefaultPath = YES;
|
|
|
+//
|
|
|
+// for (int i=0; i<_folderListArr.count; i++) {
|
|
|
+// NSString * curPathStr = _folderListArr[i];
|
|
|
+// if([curPathStr isEqualToString:backupsDefaultPath]){
|
|
|
+// needAddHadDefaultPath = NO;
|
|
|
+// _selectIndex = i;
|
|
|
+// break;
|
|
|
+// }
|
|
|
+// }
|
|
|
+//
|
|
|
+// if(needAddHadDefaultPath){
|
|
|
+// [_folderListArr insertObject:backupsDefaultPath atIndex:0];
|
|
|
+// _selectIndex = 0;
|
|
|
+// }
|
|
|
|
|
|
}
|
|
|
|