Skip to content

Commit

Permalink
updateThumbnailIfNeeded
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 committed Feb 21, 2025
1 parent 8ff867f commit ae63617
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class ConflictsResolveActivity : FileActivity(), OnConflictDecisionMadeListener
}

private fun updateThumbnailIfNeeded(decision: Decision?, file: OCFile?) {
if (decision == Decision.KEEP_BOTH || decision == Decision.KEEP_SERVER) {
if (decision == Decision.KEEP_BOTH || decision == Decision.KEEP_LOCAL) {
file?.isUpdateThumbnailNeeded = true
fileDataStorageManager.saveFile(file)
}
Expand Down

0 comments on commit ae63617

Please sign in to comment.