From 747442001ef86685e63863a6a7def9223aff5f80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Font=C3=A1n?= Date: Fri, 29 Dec 2023 13:30:30 +0100 Subject: [PATCH] Refactor --- .../spowlo/ui/pages/download_tasks/FullscreenConsoleOutput.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/bobbyesp/spowlo/ui/pages/download_tasks/FullscreenConsoleOutput.kt b/app/src/main/java/com/bobbyesp/spowlo/ui/pages/download_tasks/FullscreenConsoleOutput.kt index 3cd61460..ff961aba 100644 --- a/app/src/main/java/com/bobbyesp/spowlo/ui/pages/download_tasks/FullscreenConsoleOutput.kt +++ b/app/src/main/java/com/bobbyesp/spowlo/ui/pages/download_tasks/FullscreenConsoleOutput.kt @@ -56,7 +56,8 @@ private const val TAG = "TaskLogPage" @OptIn(ExperimentalMaterial3Api::class) @Composable fun FullscreenConsoleOutput( - onBackPressed: () -> Unit, taskHashCode: Int + onBackPressed: () -> Unit, + taskHashCode: Int ) { val scrollBehavior = TopAppBarDefaults.pinnedScrollBehavior() val task = Downloader.mutableTaskList.values.find { it.hashCode() == taskHashCode } ?: return