feat: dynamic floating action button
This commit is contained in:
parent
e04e4d5fbf
commit
e5b477080c
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ fun WrenchScaffold(state: WindowState) {
|
|||
Scaffold(
|
||||
scaffoldState = scaffoldState,
|
||||
topBar = { TopBar() },
|
||||
floatingActionButton = { FloatingButton(watcherManager) },
|
||||
floatingActionButton = { if(tabIndex == 0) FloatingButton(watcherManager) },
|
||||
isFloatingActionButtonDocked = true,
|
||||
backgroundColor = UIColors.PRIMARY,
|
||||
bottomBar = { AppBottomBar(state, watcherManager, watcher, currentClick, outputs) { currentClick = it } }
|
||||
|
|
Reference in a new issue