Add KEEP_OFFLINE_FOLDER click

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-08-21 10:23:50 +02:00
parent 7aac89d1d7
commit dfd13650d6
No known key found for this signature in database
GPG key ID: 4E577DC593B59BDF

View file

@ -121,7 +121,8 @@ class ConflictsResolveActivity : FileActivity(), OnConflictDecisionMadeListener
offlineOperation?.let { entity -> offlineOperation?.let { entity ->
when(decision) { when(decision) {
Decision.KEEP_OFFLINE_FOLDER -> { Decision.KEEP_OFFLINE_FOLDER -> {
fileOperationsHelper?.removeFiles(listOf(serverFile), false, false)
backgroundJobManager.startOfflineOperations()
} }
Decision.KEEP_SERVER_FOLDER -> { Decision.KEEP_SERVER_FOLDER -> {