mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
resolves #1590 by checking for null
This commit is contained in:
parent
41ea468d66
commit
4743545c82
1 changed files with 10 additions and 6 deletions
|
@ -1538,13 +1538,17 @@ public class OCFileListFragment extends ExtendedListFragment implements OCFileLi
|
|||
}
|
||||
|
||||
final FileDisplayActivity fileDisplayActivity = (FileDisplayActivity) getActivity();
|
||||
if (fileDisplayActivity != null) {
|
||||
fileDisplayActivity.runOnUiThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (fileDisplayActivity != null) {
|
||||
fileDisplayActivity.setIndeterminate(false);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
return remoteOperationResult.isSuccess();
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue