We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 962fe9c commit ef0d562Copy full SHA for ef0d562
1 file changed
app/src/main/java/org/schabi/newpipe/util/StreamDialogDefaultEntry.java
@@ -59,12 +59,14 @@ public enum StreamDialogDefaultEntry {
59
.setUploaderUrl(serviceId, url, result.getUploaderUrl())
60
.subscribeOn(Schedulers.io()).subscribe();
61
openChannelFragment(fragment, item, result.getUploaderUrl());
62
- }, throwable -> Toast.makeText(
63
- // TODO: Open the Error Activity
64
- fragment.getContext(),
65
- R.string.error_show_channel_details,
66
- Toast.LENGTH_SHORT
67
- ).show());
+ }, throwable -> ErrorUtil.openActivity(
+ fragment.requireContext(),
+ new ErrorInfo(
+ throwable,
+ UserAction.REQUESTED_CHANNEL,
+ url,
68
+ serviceId
69
+ )));
70
} else {
71
openChannelFragment(fragment, item, item.getUploaderUrl());
72
}
0 commit comments