mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 07:05:49 +03:00
Add KEEP_SERVER_FOLDER click
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
986d0848fc
commit
7aac89d1d7
1 changed files with 3 additions and 2 deletions
|
@ -125,17 +125,18 @@ class ConflictsResolveActivity : FileActivity(), OnConflictDecisionMadeListener
|
|||
}
|
||||
|
||||
Decision.KEEP_SERVER_FOLDER -> {
|
||||
|
||||
fileDataStorageManager.offlineOperationDao.deleteByPath(path)
|
||||
}
|
||||
|
||||
Decision.KEEP_BOTH_FOLDER -> {
|
||||
fileDataStorageManager.keepOfflineOperationAndServerFile(entity)
|
||||
backgroundJobManager.startOfflineOperations()
|
||||
offlineOperationNotificationManager.dismissNotification(offlineOperation.id)
|
||||
}
|
||||
|
||||
else -> Unit
|
||||
}
|
||||
|
||||
offlineOperationNotificationManager.dismissNotification(offlineOperation.id)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue