diff --git a/pillarbox-demo/src/main/java/ch/srgssr/pillarbox/demo/ui/player/controls/PlayerError.kt b/pillarbox-demo/src/main/java/ch/srgssr/pillarbox/demo/ui/player/controls/PlayerError.kt index b37c7f7fc..ffd5e4da7 100644 --- a/pillarbox-demo/src/main/java/ch/srgssr/pillarbox/demo/ui/player/controls/PlayerError.kt +++ b/pillarbox-demo/src/main/java/ch/srgssr/pillarbox/demo/ui/player/controls/PlayerError.kt @@ -38,7 +38,7 @@ fun PlayerError(playerError: PlaybackException, modifier: Modifier = Modifier, o Box( modifier = Modifier .fillMaxSize() - .clickable { onRetry.invoke() } + .clickable { onRetry() } ) { Column(modifier = Modifier.align(Alignment.Center), horizontalAlignment = Alignment.CenterHorizontally) { Text(