Hi
i am investigating compose backdrop component and i am trying to implement multi selection and have the backdrop appBar show the user has switched to multi selection
i have a boolean
val isActionModeState by viewModel.isActionMode.collectAsStateWithLifecycle()
which is being set correctly however my backdrop app bar does not
change.
BackdropScaffold(
scaffoldState = backdropScaffoldState,
gesturesEnabled = false,
appBar = if (isActionModeState) actionMode else myAppBar,
frontLayerBackgroundColor = MaterialTheme.colorScheme.surface,
backLayerBackgroundColor = MaterialTheme.colorScheme.inverseOnSurface,
backLayerContentColor = MaterialTheme.colorScheme.onSecondary,
backLayerContent = *{*
where am i going wrong?