Update snapshot

* Remove obsolete workaround
This commit is contained in:
FooIbar committed 2024-02-23 22:40:19 +08:00
1 parent fa6e4acad6
commit cf3ccf6155
2 files changed
+2 -10

No files matched your search

@@ -69,7 +69,6 @@ import androidx.compose.ui.input.nestedscroll.NestedScrollSource
import androidx.compose.ui.input.nestedscroll.nestedScroll
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.platform.LocalDensity
import androidx.compose.ui.platform.LocalFocusManager
import androidx.compose.ui.platform.LocalLayoutDirection
import androidx.compose.ui.platform.LocalView
import androidx.compose.ui.res.dimensionResource
@@ -200,14 +199,6 @@ fun GalleryListScreen(lub: ListUrlBuilder, navigator: DestinationsNavigator) {
}
}
// Fix crash when TextField with focus is scaled to 0
val focusManager = LocalFocusManager.current
LaunchedEffect(showSearchLayout) {
if (!showSearchLayout) {
focusManager.clearFocus()
}
}
val animatedSearchLayout by animateFloatMergePredictiveBackAsState(
enable = showSearchLayout,
animationSpec = tween(FAB_ANIMATE_TIME * 2),
+2 -1
View File
@@ -13,7 +13,8 @@ dependencyResolutionManagement {
mavenCentral()
maven("https://jitpack.io")
maven("https://androidx.dev/storage/compose-compiler/repository/")
maven("https://androidx.dev/snapshots/builds/11487711/artifacts/repository")
// Hold until https://issuetracker.google.com/issues/325372937#comment4 is fixed
maven("https://androidx.dev/snapshots/builds/11488154/artifacts/repository")
}
}