mirror of
https://github.com/nextcloud/android.git
synced 2024-11-29 02:38:58 +03:00
wrong storage location
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
17a19bd4be
commit
8966803e39
2 changed files with 2 additions and 2 deletions
|
@ -535,7 +535,7 @@ public class RefreshFolderOperation extends RemoteOperation {
|
|||
localFile.getModificationTimestampAtLastSyncForData()
|
||||
);
|
||||
if (localFile.isEncrypted()) {
|
||||
updatedFile.setStoragePath(mLocalFolder.getDecryptedRemotePath() + localFile.getFileName());
|
||||
updatedFile.setStoragePath(mLocalFolder.getStoragePath() + PATH_SEPARATOR + localFile.getFileName());
|
||||
} else {
|
||||
updatedFile.setStoragePath(localFile.getStoragePath());
|
||||
}
|
||||
|
|
|
@ -98,7 +98,7 @@ public final class FileStorageUtils {
|
|||
* file.
|
||||
*/
|
||||
public static String getDefaultSavePathFor(String accountName, OCFile file) {
|
||||
return getSavePath(accountName) + file.getStoragePath();
|
||||
return getSavePath(accountName) + file.getDecryptedRemotePath();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue