Skip to content

Commit

Permalink
Merge pull request getodk#3273 from grzesiek2010/COLLECT-3267
Browse files Browse the repository at this point in the history
Fixed crash in FormDownloadList
  • Loading branch information
lognaturel authored Aug 1, 2019
2 parents d37c0ab + 496d665 commit 39c2b29
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,9 @@ private void downloadFormList() {
@Override
protected void onRestoreInstanceState(Bundle state) {
super.onRestoreInstanceState(state);
toggleButtonLabel(toggleButton, listView);
updateAdapter();
if (PermissionUtils.areStoragePermissionsGranted(this)) {
updateAdapter();
}
}

@Override
Expand Down

0 comments on commit 39c2b29

Please sign in to comment.