mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
Fixed wrong conflict badge after resolving conflict with 'Keep both'
This commit is contained in:
parent
bd96e2c9ce
commit
a97b6ca88f
1 changed files with 2 additions and 2 deletions
|
@ -765,8 +765,8 @@ public class UploadFileOperation extends SyncOperation {
|
|||
}
|
||||
|
||||
if (mWasRenamed) {
|
||||
OCFile oldFile = mOldFile;
|
||||
if (oldFile.fileExists()) {
|
||||
OCFile oldFile = getStorageManager().getFileByPath(mOldFile.getRemotePath());
|
||||
if (oldFile != null) {
|
||||
oldFile.setStoragePath(null);
|
||||
getStorageManager().saveFile(oldFile);
|
||||
getStorageManager().saveConflict(oldFile, null);
|
||||
|
|
Loading…
Reference in a new issue