mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 07:05:49 +03:00
Specifically make visible retry failed uploads action
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
24b2d033f1
commit
c78a67d53c
1 changed files with 2 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue