Skip to content

Commit

Permalink
Add move action to auto advance
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasBourdin88 committed May 6, 2024
1 parent 7d7f785 commit 5bcc2e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/com/infomaniak/mail/ui/MainViewModel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,8 @@ class MainViewModel @Inject constructor(

val apiResponse = ApiRepository.moveMessages(mailbox.uuid, messages.getUids(), destinationFolder.id)

threadUidToDeleteOrArchive.postValue(threadsUids.toList())

if (apiResponse.isSuccess()) {
refreshFoldersAsync(
mailbox = mailbox,
Expand Down

0 comments on commit 5bcc2e6

Please sign in to comment.