mihon/app
MajorTanya 96c236e5c3
Minor refactor of theming when expressions (#396)
* Minor refactor of theming when expressions

Avoids triggering detekt's CyclomaticComplexMethod warning because of
too many when branches, which would happen with one more theme being
added in these two locations.

In TachiyomiTheme, the Monet theme is separated because it requires
the current Compose context to function. The other themes do not and
are delegated to a Map.

* Implement requested changes

- moved themeResources out of the ThemingDelegate interface
- replaced single condition when with if expression
2024-02-15 02:35:16 +06:00
..
src Minor refactor of theming when expressions (#396) 2024-02-15 02:35:16 +06:00
.gitignore Minor cleanup 2023-10-14 22:46:51 -04:00
build.gradle.kts Don't copy archives to temp files when opening (#326) 2024-02-03 23:33:18 +06:00
proguard-android-optimize.txt Remove unused rxandroid dependency 2023-08-26 10:30:26 -04:00
proguard-rules.pro Don't copy archives to temp files when opening (#326) 2024-02-03 23:33:18 +06:00
shortcuts.xml Minor cleanup 2023-10-14 22:46:51 -04:00