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

1.2.2 #11

Merged
merged 11 commits into from
Nov 15, 2023
Merged

1.2.2 #11

merged 11 commits into from
Nov 15, 2023

Conversation

nxoim
Copy link
Owner

@nxoim nxoim commented Nov 15, 2023

No description provided.

DotsTeaLab added 11 commits November 14, 2023 03:44
- updated
- version bump
- upgrade
- add a library (com.tencent:mmkv)

MainActivity:
- initialize mmkv
- remove unnecessary coroutine scope
…Item, OverwriteDefaultsDialog, LoadWithOptionsDialog, DefaultThemesButtons, EditorScreen, ChatScreenThemePreview, MainScreen, Navigator):

- some refactoring
- added a view model factry

MainActivity:
- initializing the view model using the factory

ChatScreenPreview:
- removed compose preview
- changes to how context is passed and how it is used
- added

MainViewModel (affects EditorTopAppBar, ElementColorItem):
- moved some stuff to ThemeRepository, moved getThemeAsStringByUUID() inside the viewmodel
- stuff related to loading, saving, updating themes has been refactored a bit
- fixed replaceThemeByUUID functioning
- changed behavior oof the startupConfigProcess. now if a default theme is absent (on first launch, for example) - a default theme will be created using a stock theme which means it will not load the themes from the assets folder on each launch when user has not overridden a default theme
- added updateDefaultDarkThemeFromStock()
- added updateDefaultLightThemeFromStock()

MainScreen:
- now tracking if the stock themes were changed and asking to update them (by displaying a dialog and showing options in the drop down menu) if they were. initial implementation ofc
@nxoim nxoim merged commit f956ea8 into master Nov 15, 2023
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.

1 participant