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

Commits on Nov 14, 2023

  1. both stock themes:

    - updated
    DotsTeaLab committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    b8c7e28 View commit details
    Browse the repository at this point in the history
  2. gradle:

    - version bump
    DotsTeaLab committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    74d301d View commit details
    Browse the repository at this point in the history
  3. gradle:

    - upgrade
    DotsTeaLab committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    e95e29d View commit details
    Browse the repository at this point in the history
  4. gradle:

    - add a library (com.tencent:mmkv)
    
    MainActivity:
    - initialize mmkv
    DotsTeaLab committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    f8f25f7 View commit details
    Browse the repository at this point in the history
  5. MainActivity:

    - remove unnecessary coroutine scope
    DotsTeaLab committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    23b3416 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. MainViewModel (affects DeleteThemeDialog, EditorTopAppBar, SavedTheme…

    …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
    DotsTeaLab committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    bb0468e View commit details
    Browse the repository at this point in the history
  2. MainViewModel (affects MainActivity):

    - changes to how context is passed and how it is used
    DotsTeaLab committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    2eff143 View commit details
    Browse the repository at this point in the history
  3. ThemeRepository:

    - 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
    DotsTeaLab committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    4abc8b6 View commit details
    Browse the repository at this point in the history
  4. ThemeRepository:

    - fixed replaceThemeByUUID functioning
    DotsTeaLab committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    38ca700 View commit details
    Browse the repository at this point in the history
  5. MainViewModel:

    - 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
    DotsTeaLab committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    a510c37 View commit details
    Browse the repository at this point in the history
  6. MainViewModel:

    - 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
    DotsTeaLab committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    dfacdb4 View commit details
    Browse the repository at this point in the history