Specifically make visible retry failed uploads action

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-04-12 09:29:57 +02:00 committed by Alper Öztürk
parent 24b2d033f1
commit c78a67d53c

View file

@ -145,8 +145,7 @@ public class UploadListAdapter extends SectionedRecyclerViewAdapter<SectionedVie
uploadsStorageManager.clearFailedButNotDelayedUploads();
FileDataStorageManager.clearTempEncryptedFolder(MainApp.getAppContext());
loadUploadItemsFromDb();
} else {
} else if (itemId == R.id.action_upload_list_failed_retry) {
new Thread(() -> {
FileUploadHelper.Companion.instance().retryFailedUploads(
uploadsStorageManager,
@ -155,8 +154,8 @@ public class UploadListAdapter extends SectionedRecyclerViewAdapter<SectionedVie
powerManagementService);
parentActivity.runOnUiThread(this::loadUploadItemsFromDb);
}).start();
}
return true;
});
failedPopup.show();