From a42420f4c9bbc5ffeb795531baa042b7bdfe75c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Muller?= Date: Tue, 16 Jan 2024 09:25:44 +0100 Subject: [PATCH] Remove remaining `invoke()` explicit call --- .../ch/srgssr/pillarbox/demo/ui/player/controls/PlayerError.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(