mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 21:25:35 +03:00
Fix NPE in BackupFragment when fragment exits while refresh is happening
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
This commit is contained in:
parent
f116328dfa
commit
f83ccb781d
1 changed files with 2 additions and 2 deletions
|
@ -267,7 +267,7 @@ public class BackupFragment extends FileFragment implements DatePickerDialog.OnD
|
|||
|
||||
@Override
|
||||
protected void onPostExecute(Boolean result) {
|
||||
if (result) {
|
||||
if (result && binding != null) {
|
||||
OCFile backupFolder = storageManager.getFileByPath(backupFolderPath);
|
||||
|
||||
List<OCFile> backupFiles = storageManager
|
||||
|
|
Loading…
Reference in a new issue