PullDownScaffold: increase max search bar offset
This commit is contained in:
parent
f56a40072f
commit
cc2d63c926
@ -102,7 +102,7 @@ fun PullDownScaffold(
|
|||||||
|
|
||||||
val searchBarOffset = remember { mutableStateOf(0f) }
|
val searchBarOffset = remember { mutableStateOf(0f) }
|
||||||
|
|
||||||
val maxSearchBarOffset = with(density) { 96.dp.toPx() }
|
val maxSearchBarOffset = with(density) { 128.dp.toPx() }
|
||||||
|
|
||||||
val blurWallpaper by derivedStateOf {
|
val blurWallpaper by derivedStateOf {
|
||||||
isSearchOpen || offsetY.value > toggleSearchThreshold || widgetsScrollState.value > 0
|
isSearchOpen || offsetY.value > toggleSearchThreshold || widgetsScrollState.value > 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user