Skip to content

Commit

Permalink
fix false possitive lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Sep 29, 2024
1 parent 5877405 commit 710eac4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ private fun BottomSheetHost(
val sheetState = rememberModalBottomSheetState(
skipPartiallyExpanded = destination?.skipPartiallyExpanded ?: true,
)
@Suppress("ProduceStateDoesNotAssignValue") // false positive
val backStackEntry by produceState<NavBackStackEntry?>(
initialValue = null,
key1 = targetBackStackEntry,
Expand Down

0 comments on commit 710eac4

Please sign in to comment.