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 a7ecf94 commit 98b3a7fCopy full SHA for 98b3a7f
1 file changed
app/src/main/java/org/schabi/newpipe/ui/components/common/ErrorPanel.kt
@@ -59,7 +59,7 @@ fun ErrorPanel(
59
60
Column(
61
horizontalAlignment = Alignment.CenterHorizontally,
62
-
+ modifier = modifier
63
) {
64
65
Text(
@@ -126,5 +126,12 @@ fun ErrorPanel(
126
@Composable
127
fun ErrorPanelPreview() {
128
AppTheme {
129
+ ErrorPanel(
130
+ errorInfo = ErrorInfo(
131
+ throwable = Exception("Network error"),
132
+ userAction = org.schabi.newpipe.error.UserAction.UI_ERROR,
133
+ request = "Preview request"
134
+ )
135
136
}
137
0 commit comments