Revert "bump..."

This reverts commit c7f4b2d5b0cf788f41ee4a57ba9f2b716fbd195f.
This commit is contained in:
Sad Ellie 2023-10-28 23:05:12 +03:00
parent 754a8fb01b
commit ef5dc177b2
2 changed files with 11 additions and 3 deletions

View File

@ -49,6 +49,7 @@ import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalClipboardManager
import androidx.compose.ui.platform.LocalFocusManager
import androidx.compose.ui.platform.LocalTextInputService
import androidx.compose.ui.platform.LocalTextToolbar
import androidx.compose.ui.platform.LocalView
@ -118,6 +119,13 @@ private fun HistoryListContent(
formatterSymbols: FormatterSymbols,
) {
val state = rememberLazyListState()
val focusManager = LocalFocusManager.current
// Very bad workaround for https://issuetracker.google.com/issues/295745063
// Will remove once the fix is released
LaunchedEffect(state.isScrollInProgress) {
focusManager.clearFocus(true)
}
LaunchedEffect(historyItems) { state.scrollToItem(0) }

View File

@ -5,15 +5,15 @@ appName = "Olive Green"
androidxBrowserBrowser = "1.6.0"
androidGradlePlugin = "8.1.2"
androidxAppCompatAppCompat = "1.6.1"
androidxCompose = "1.6.0-alpha08"
androidxCompose = "1.6.0-alpha07"
androidxComposeCompiler = "1.5.0"
androidxComposeMaterial3 = "1.2.0-alpha10"
androidxComposeMaterial3 = "1.2.0-alpha09"
androidxCoreCoreKts = "1.12.0"
androidxDatastoreDatastorePreferences = "1.0.0"
androidxHiltHiltNavigationCompose = "1.0.0"
androidxLifecycleLifecycleRuntimeCompose = "2.6.2"
androidxNavigationNavigationCompose = "2.7.4"
androidxRoom = "2.6.0"
androidxRoom = "2.6.0-rc01"
androidxTest = "1.5.0"
androidxTestExtJunitKtx = "1.1.5"
androidxTestRunner = "1.5.2"