mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-19 00:35:26 +02:00
Revert "bump..."
This reverts commit c7f4b2d5b0cf788f41ee4a57ba9f2b716fbd195f.
This commit is contained in:
parent
754a8fb01b
commit
ef5dc177b2
@ -49,6 +49,7 @@ import androidx.compose.runtime.setValue
|
|||||||
import androidx.compose.ui.Alignment
|
import androidx.compose.ui.Alignment
|
||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
import androidx.compose.ui.platform.LocalClipboardManager
|
import androidx.compose.ui.platform.LocalClipboardManager
|
||||||
|
import androidx.compose.ui.platform.LocalFocusManager
|
||||||
import androidx.compose.ui.platform.LocalTextInputService
|
import androidx.compose.ui.platform.LocalTextInputService
|
||||||
import androidx.compose.ui.platform.LocalTextToolbar
|
import androidx.compose.ui.platform.LocalTextToolbar
|
||||||
import androidx.compose.ui.platform.LocalView
|
import androidx.compose.ui.platform.LocalView
|
||||||
@ -118,6 +119,13 @@ private fun HistoryListContent(
|
|||||||
formatterSymbols: FormatterSymbols,
|
formatterSymbols: FormatterSymbols,
|
||||||
) {
|
) {
|
||||||
val state = rememberLazyListState()
|
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) }
|
LaunchedEffect(historyItems) { state.scrollToItem(0) }
|
||||||
|
|
||||||
|
@ -5,15 +5,15 @@ appName = "Olive Green"
|
|||||||
androidxBrowserBrowser = "1.6.0"
|
androidxBrowserBrowser = "1.6.0"
|
||||||
androidGradlePlugin = "8.1.2"
|
androidGradlePlugin = "8.1.2"
|
||||||
androidxAppCompatAppCompat = "1.6.1"
|
androidxAppCompatAppCompat = "1.6.1"
|
||||||
androidxCompose = "1.6.0-alpha08"
|
androidxCompose = "1.6.0-alpha07"
|
||||||
androidxComposeCompiler = "1.5.0"
|
androidxComposeCompiler = "1.5.0"
|
||||||
androidxComposeMaterial3 = "1.2.0-alpha10"
|
androidxComposeMaterial3 = "1.2.0-alpha09"
|
||||||
androidxCoreCoreKts = "1.12.0"
|
androidxCoreCoreKts = "1.12.0"
|
||||||
androidxDatastoreDatastorePreferences = "1.0.0"
|
androidxDatastoreDatastorePreferences = "1.0.0"
|
||||||
androidxHiltHiltNavigationCompose = "1.0.0"
|
androidxHiltHiltNavigationCompose = "1.0.0"
|
||||||
androidxLifecycleLifecycleRuntimeCompose = "2.6.2"
|
androidxLifecycleLifecycleRuntimeCompose = "2.6.2"
|
||||||
androidxNavigationNavigationCompose = "2.7.4"
|
androidxNavigationNavigationCompose = "2.7.4"
|
||||||
androidxRoom = "2.6.0"
|
androidxRoom = "2.6.0-rc01"
|
||||||
androidxTest = "1.5.0"
|
androidxTest = "1.5.0"
|
||||||
androidxTestExtJunitKtx = "1.1.5"
|
androidxTestExtJunitKtx = "1.1.5"
|
||||||
androidxTestRunner = "1.5.2"
|
androidxTestRunner = "1.5.2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user