Finish when closing error dialog

This commit is contained in:
ByteHamster 2019-02-01 15:59:25 +01:00
parent 7f100b3fa6
commit 39c6ff5f31
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ public class OnlineFeedViewActivity extends AppCompatActivity {
Log.e(TAG, "feedUrl is null.");
new AlertDialog.Builder(OnlineFeedViewActivity.this).
setNeutralButton(android.R.string.ok,
(dialog, which) -> dialog.dismiss()).
(dialog, which) -> finish()).
setTitle(R.string.error_label).
setMessage(R.string.null_value_podcast_error).create().show();
} else {