From dea6164b28fea99e7762f5e0feee03b854cc2025 Mon Sep 17 00:00:00 2001 From: aro Date: Thu, 17 Nov 2022 17:45:12 +0100 Subject: [PATCH] style: clear name --- .../kotlin/xyz/atnrch/wrench/components/WrenchScaffold.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/xyz/atnrch/wrench/components/WrenchScaffold.kt b/src/main/kotlin/xyz/atnrch/wrench/components/WrenchScaffold.kt index c951444..0bfa11b 100644 --- a/src/main/kotlin/xyz/atnrch/wrench/components/WrenchScaffold.kt +++ b/src/main/kotlin/xyz/atnrch/wrench/components/WrenchScaffold.kt @@ -7,13 +7,13 @@ import xyz.atnrch.wrench.watcher.Watcher @Composable fun WrenchScaffold() { val watcher = remember { Watcher() } - var state by remember { mutableStateOf(false) } + var buttonState by remember { mutableStateOf(false) } Scaffold( topBar = { TopBar() }, floatingActionButton = { AddButton() }, isFloatingActionButtonDocked = true, - bottomBar = { BottomAppBar(watcher, state) { state = it } } + bottomBar = { BottomAppBar(watcher, buttonState) { buttonState = it } } ) { WrenchFileManagerInput() WrenchFileManagerOutput()