PullDownScaffold: increase max search bar offset

This commit is contained in:
MM20 2022-05-11 12:20:59 +02:00
parent f56a40072f
commit cc2d63c926
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -102,7 +102,7 @@ fun PullDownScaffold(
val searchBarOffset = remember { mutableStateOf(0f) }
val maxSearchBarOffset = with(density) { 96.dp.toPx() }
val maxSearchBarOffset = with(density) { 128.dp.toPx() }
val blurWallpaper by derivedStateOf {
isSearchOpen || offsetY.value > toggleSearchThreshold || widgetsScrollState.value > 0