diff options
author | marinofaggiana <marino@marinofaggiana.com> | 2020-08-14 14:05:46 +0300 |
---|---|---|
committer | marinofaggiana <marino@marinofaggiana.com> | 2020-08-14 14:05:46 +0300 |
commit | 397227cf9336b5d0d722896fce850222b6cb6ba2 (patch) | |
tree | bc562497a0859505ece652cae93902eba0bdcb1f /Share | |
parent | d0a0a8a8969c6c3f7aa79394888f112be8744278 (diff) |
normalize
Diffstat (limited to 'Share')
-rw-r--r-- | Share/NCSelectDestination.m | 4 | ||||
-rw-r--r-- | Share/ShareViewController.m | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Share/NCSelectDestination.m b/Share/NCSelectDestination.m index 618ba4b37..417ffab6c 100644 --- a/Share/NCSelectDestination.m +++ b/Share/NCSelectDestination.m @@ -69,7 +69,7 @@ if (![_serverUrl length]) { - _serverUrl = [[NCUtility shared] getHomeServer:urlBase]; + _serverUrl = [[NCUtility shared] getHomeServerWithUrlBase:urlBase account:account]; [self.navigationController.navigationBar.topItem setTitleView:[[UIImageView alloc] initWithImage: [UIImage imageNamed:@"themingLogo"]]]; self.title = @"Home"; @@ -92,7 +92,7 @@ // get auto upload folder _autoUploadFileName = [[NCManageDatabase sharedInstance] getAccountAutoUploadFileName]; - _autoUploadDirectory = [[NCManageDatabase sharedInstance] getAccountAutoUploadDirectory:urlBase]; + _autoUploadDirectory = [[NCManageDatabase sharedInstance] getAccountAutoUploadDirectoryWithUrlBase:urlBase account:account]; [self readFolder]; } diff --git a/Share/ShareViewController.m b/Share/ShareViewController.m index cdfaec98a..f44dfb36e 100644 --- a/Share/ShareViewController.m +++ b/Share/ShareViewController.m @@ -84,7 +84,7 @@ [CCUtility setAccountExt:self.account]; - _serverUrl = [[NCUtility shared] getHomeServer:tableAccount.urlBase]; + _serverUrl = [[NCUtility shared] getHomeServerWithUrlBase:tableAccount.urlBase account:tableAccount.account]; [CCUtility setServerUrlExt:_serverUrl]; _destinyFolderButton.title = [NSString stringWithFormat:NSLocalizedString(@"_destiny_folder_", nil), NSLocalizedString(@"_home_", nil)]; |