mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-14 01:51:42 +01:00
Fixed error dialog being shown in wrong thread
This commit is contained in:
parent
63be7a97b8
commit
c8ed88dc96
@ -145,7 +145,7 @@ public class OnlineFeedViewActivity extends AppCompatActivity {
|
||||
}
|
||||
|
||||
private void showNoPodcastFoundError() {
|
||||
new AlertDialog.Builder(OnlineFeedViewActivity.this)
|
||||
runOnUiThread(() -> new AlertDialog.Builder(OnlineFeedViewActivity.this)
|
||||
.setNeutralButton(android.R.string.ok, (dialog, which) -> finish())
|
||||
.setTitle(R.string.error_label)
|
||||
.setMessage(R.string.null_value_podcast_error)
|
||||
@ -153,7 +153,7 @@ public class OnlineFeedViewActivity extends AppCompatActivity {
|
||||
setResult(RESULT_ERROR);
|
||||
finish();
|
||||
})
|
||||
.show();
|
||||
.show());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user