From 710eac4aa541cc976a2ee2e366edd00c4f3270d6 Mon Sep 17 00:00:00 2001 From: Jan Skrasek Date: Sun, 29 Sep 2024 13:03:29 +0200 Subject: [PATCH] fix false possitive lint --- .../kotlin/dev/hrach/navigation/bottomsheet/BottomSheetHost.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/bottomsheet/src/main/kotlin/dev/hrach/navigation/bottomsheet/BottomSheetHost.kt b/bottomsheet/src/main/kotlin/dev/hrach/navigation/bottomsheet/BottomSheetHost.kt index 262e163..e376731 100644 --- a/bottomsheet/src/main/kotlin/dev/hrach/navigation/bottomsheet/BottomSheetHost.kt +++ b/bottomsheet/src/main/kotlin/dev/hrach/navigation/bottomsheet/BottomSheetHost.kt @@ -107,6 +107,7 @@ private fun BottomSheetHost( val sheetState = rememberModalBottomSheetState( skipPartiallyExpanded = destination?.skipPartiallyExpanded ?: true, ) + @Suppress("ProduceStateDoesNotAssignValue") // false positive val backStackEntry by produceState( initialValue = null, key1 = targetBackStackEntry,