Skip to content

Commit

Permalink
fix detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
makeevrserg committed Sep 10, 2024
1 parent 9f46f2e commit cb336a3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class InfraredViewDecomposeComponentImpl @AssistedInject constructor(
}

shareBottomUiApi.ComposableShareBottomSheet(
providerFlipperKeyPath = viewModel::getKeyPath,
provideFlipperKeyPath = viewModel::getKeyPath,
onSheetStateVisible = { isShown, onClose ->
val isBackPressHandled by isBackPressHandledFlow.collectAsState()
backCallback.isEnabled = isShown
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class KeyScreenViewDecomposeComponentImpl @AssistedInject constructor(
keyScreenViewModelFactory(keyPath)
}
shareBottomApi.ComposableShareBottomSheet(
providerFlipperKeyPath = viewModel::getKeyPath,
provideFlipperKeyPath = viewModel::getKeyPath,
onSheetStateVisible = { isShown, onClose ->
val isBackPressHandled by isBackPressHandledFlow.collectAsState()
backCallback.isEnabled = isShown
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class LocalGridScreenDecomposeComponentImpl @AssistedInject constructor(
@Composable
override fun Render() {
shareBottomUiApi.ComposableShareBottomSheet(
providerFlipperKeyPath = { keyPath },
provideFlipperKeyPath = { keyPath },
onSheetStateVisible = { isShown, onClose ->
val isBackPressHandled by isBackPressHandledFlow.collectAsState()
backCallback.isEnabled = isShown
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import com.flipperdevices.bridge.dao.api.model.FlipperKeyPath
interface ShareBottomUIApi {
@Composable
fun ComposableShareBottomSheet(
providerFlipperKeyPath: () -> FlipperKeyPath,
provideFlipperKeyPath: () -> FlipperKeyPath,
componentContext: ComponentContext,
onSheetStateVisible: @Composable (isVisible: Boolean, onClose: () -> Unit) -> Unit,
screenContent: @Composable (() -> Unit) -> Unit,
Expand Down

0 comments on commit cb336a3

Please sign in to comment.