mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-14 14:02:44 +00:00
use Column instead of LazyColumn to avoid janky scroll
This commit is contained in:
parent
a03bf2924f
commit
324aebf754
12 changed files with 94 additions and 71 deletions
|
@ -27,7 +27,7 @@ import helium314.keyboard.latin.utils.getActivity
|
|||
import helium314.keyboard.latin.utils.switchTo
|
||||
import helium314.keyboard.settings.preferences.Preference
|
||||
import helium314.keyboard.settings.preferences.PreferenceCategory
|
||||
import helium314.keyboard.settings.SearchPrefScreen
|
||||
import helium314.keyboard.settings.SearchSettingsScreen
|
||||
import helium314.keyboard.settings.Theme
|
||||
|
||||
@Composable
|
||||
|
@ -42,10 +42,10 @@ fun MainSettingsScreen(
|
|||
onClickBack: () -> Unit,
|
||||
) {
|
||||
val ctx = LocalContext.current
|
||||
SearchPrefScreen(
|
||||
SearchSettingsScreen(
|
||||
onClickBack = onClickBack,
|
||||
title = stringResource(R.string.ime_settings),
|
||||
prefs = emptyList(),
|
||||
settings = emptyList(),
|
||||
) {
|
||||
Column(Modifier.verticalScroll(rememberScrollState())) {
|
||||
Preference(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue