|
@@ -77,31 +77,31 @@
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
- if ([_activeAccount isEqualToString:[CCUtility getActiveAccountShareExt]]) {
|
|
|
|
|
|
+ if ([_activeAccount isEqualToString:[CCUtility getActiveAccountExt]]) {
|
|
|
|
|
|
// load
|
|
// load
|
|
|
|
|
|
- _serverUrl = [CCUtility getServerUrlShareExt];
|
|
|
|
|
|
+ _serverUrl = [CCUtility getServerUrlExt];
|
|
|
|
|
|
- _destinyFolderButton.title = [NSString stringWithFormat:NSLocalizedString(@"_destiny_folder_", nil), [CCUtility getTitleServerUrlShareExt]];
|
|
|
|
|
|
+ _destinyFolderButton.title = [NSString stringWithFormat:NSLocalizedString(@"_destiny_folder_", nil), [CCUtility getTitleServerUrlExt]];
|
|
|
|
|
|
if (_isCryptoCloudMode)
|
|
if (_isCryptoCloudMode)
|
|
- _localCryptated = [CCUtility getCryptatedShareExt];
|
|
|
|
|
|
+ _localCryptated = [CCUtility getCryptatedExt];
|
|
|
|
|
|
} else {
|
|
} else {
|
|
|
|
|
|
// Default settings
|
|
// Default settings
|
|
|
|
|
|
- [CCUtility setActiveAccountShareExt:self.activeAccount];
|
|
|
|
|
|
+ [CCUtility setActiveAccountExt:self.activeAccount];
|
|
|
|
|
|
_serverUrl = [CCUtility getHomeServerUrlActiveUrl:self.activeUrl];
|
|
_serverUrl = [CCUtility getHomeServerUrlActiveUrl:self.activeUrl];
|
|
- [CCUtility setServerUrlShareExt:_serverUrl];
|
|
|
|
|
|
+ [CCUtility setServerUrlExt:_serverUrl];
|
|
|
|
|
|
_destinyFolderButton.title = [NSString stringWithFormat:NSLocalizedString(@"_destiny_folder_", nil), NSLocalizedString(@"_home_", nil)];
|
|
_destinyFolderButton.title = [NSString stringWithFormat:NSLocalizedString(@"_destiny_folder_", nil), NSLocalizedString(@"_home_", nil)];
|
|
- [CCUtility setTitleServerUrlShareExt:NSLocalizedString(@"_home_", nil)];
|
|
|
|
|
|
+ [CCUtility setTitleServerUrlExt:NSLocalizedString(@"_home_", nil)];
|
|
|
|
|
|
_localCryptated = NO;
|
|
_localCryptated = NO;
|
|
- [CCUtility setCryptatedShareExt:NO];
|
|
|
|
|
|
+ [CCUtility setCryptatedExt:NO];
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -213,14 +213,14 @@
|
|
|
|
|
|
if (title) {
|
|
if (title) {
|
|
self.destinyFolderButton.title = [NSString stringWithFormat:NSLocalizedString(@"_destiny_folder_", nil), title];
|
|
self.destinyFolderButton.title = [NSString stringWithFormat:NSLocalizedString(@"_destiny_folder_", nil), title];
|
|
- [CCUtility setTitleServerUrlShareExt:title];
|
|
|
|
|
|
+ [CCUtility setTitleServerUrlExt:title];
|
|
} else {
|
|
} else {
|
|
self.destinyFolderButton.title = [NSString stringWithFormat:NSLocalizedString(@"_destiny_folder_", nil), NSLocalizedString(@"_home_", nil)];
|
|
self.destinyFolderButton.title = [NSString stringWithFormat:NSLocalizedString(@"_destiny_folder_", nil), NSLocalizedString(@"_home_", nil)];
|
|
- [CCUtility setTitleServerUrlShareExt:NSLocalizedString(@"_home_", nil)];
|
|
|
|
|
|
+ [CCUtility setTitleServerUrlExt:NSLocalizedString(@"_home_", nil)];
|
|
}
|
|
}
|
|
|
|
|
|
- [CCUtility setActiveAccountShareExt:self.activeAccount];
|
|
|
|
- [CCUtility setServerUrlShareExt:_serverUrl];
|
|
|
|
|
|
+ [CCUtility setActiveAccountExt:self.activeAccount];
|
|
|
|
+ [CCUtility setServerUrlExt:_serverUrl];
|
|
}
|
|
}
|
|
|
|
|
|
- (IBAction)destinyFolderButtonTapped:(UIBarButtonItem *)sender
|
|
- (IBAction)destinyFolderButtonTapped:(UIBarButtonItem *)sender
|
|
@@ -281,7 +281,7 @@
|
|
if (self.localCryptated) self.localCryptated = NO;
|
|
if (self.localCryptated) self.localCryptated = NO;
|
|
else self.localCryptated = YES;
|
|
else self.localCryptated = YES;
|
|
|
|
|
|
- [CCUtility setCryptatedShareExt:self.localCryptated];
|
|
|
|
|
|
+ [CCUtility setCryptatedExt:self.localCryptated];
|
|
|
|
|
|
[self navigationBarToolBar];
|
|
[self navigationBarToolBar];
|
|
}
|
|
}
|