Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide letters #121

Merged
merged 2 commits into from
Apr 4, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixing settings loading issue. Fixes #111
  • Loading branch information
dessalines committed Apr 4, 2023
commit 9f0478a3c3463022b5499ece979c44619bf3aef9
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import androidx.compose.material3.SnackbarHostState
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.livedata.observeAsState
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
Expand Down Expand Up @@ -66,7 +67,7 @@ fun LookAndFeelActivity(
) {
Log.d(TAG, "Got to lookAndFeel activity")

val settings = appSettingsViewModel.appSettings.value
val settings = appSettingsViewModel.appSettings.observeAsState().value

val keySizeState = rememberFloatSettingState(
(settings?.keySize ?: DEFAULT_KEY_SIZE).toFloat()
Expand Down