This commit is contained in:
Sad Ellie 2023-10-28 22:08:29 +03:00
parent bdbdcf9c69
commit c7f4b2d5b0
2 changed files with 3 additions and 11 deletions

View File

@ -49,7 +49,6 @@ 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
@ -119,13 +118,6 @@ 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

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