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

App state #6

Merged
merged 3 commits into from
Mar 15, 2022
Merged

App state #6

merged 3 commits into from
Mar 15, 2022

Conversation

F2had
Copy link
Contributor

@F2had F2had commented Mar 15, 2022

Added Bloc state for the settings page.

This doesn't include permanent settings in shared_pref, so, the state will be reset on restart.

Also other fixes on format and CI

Now, the theme and language of the app will change automatically
when we change them in the settings.

The next steps would be to save those changes to `shared_prefs`.

Also used DateFormat to get the current date on the main card.
Also refactored the old `Settings` bloc to one file structure.
@F2had F2had requested a review from Amjad50 March 15, 2022 16:40
@Amjad50 Amjad50 merged commit fbec77a into master Mar 15, 2022
@Amjad50 Amjad50 deleted the app_state branch March 15, 2022 16:46
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.

2 participants