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

Working on upgrading compose-settings. #1420

Closed
wants to merge 2 commits into from
Closed

Conversation

dessalines
Copy link
Member

No description provided.

@@ -33,10 +32,10 @@ import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.input.KeyboardCapitalization
import androidx.compose.ui.text.input.KeyboardType
import androidx.compose.ui.text.input.TextFieldValue
import com.alorma.compose.settings.storage.base.rememberBooleanSettingState
import com.alorma.compose.settings.storage.base.rememberIntSettingState
import com.alorma.compose.settings.storage.disk.rememberBooleanSettingState
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this persist the settings for us?

This shouldn't be done for account right? These settings are different per account

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We really don't need to remember anything, since the remembering is done in the DB. But I'm not sure exactly how to integrate that with alorma as inputs. I'll see if it can be done without these.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous remembers aren't for persisting, just how state works in compose https://developer.android.com/jetpack/compose/state

Copy link
Member Author

@dessalines dessalines Mar 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alorma's compose setting I mean, supposedly its saveable and restoring from disk.

@dessalines dessalines closed this Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants