Skip to content

Commit

Permalink
Exit onCreate() if no URI provided in intent
Browse files Browse the repository at this point in the history
Fixes #1808.
  • Loading branch information
TranceLove authored and EmmanuelMess committed Jan 21, 2020
1 parent 6ab9479 commit 5c8431e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ else if (getAppTheme().equals(AppTheme.BLACK))
} else {
Toast.makeText(this, R.string.no_file_error, Toast.LENGTH_LONG).show();
finish();
return;
}

getSupportActionBar().setTitle(mFile.name);
Expand Down

0 comments on commit 5c8431e

Please sign in to comment.