612 Commits

Author SHA1 Message Date
Sad Ellie
984ee4439b Using SideEffect to set system bars color 2022-06-22 21:01:42 +03:00
Sad Ellie
daeaf749fd Fixed theme setting support text 2022-06-22 20:56:59 +03:00
Sad Ellie
b7021b99bc Top bar is not collapsable anymore and Unit groups are not sticky. 2022-06-22 20:56:27 +03:00
Sad Ellie
d10b3b04ac Bump 2022-06-20 22:00:01 +03:00
Sad Ellie
dc02386d25 Better approach for SettingsScreen. LazyColumn is now properly used and settings items are now easier to maintain.
Also added version name for SettingsScreen.
2022-06-20 21:55:18 +03:00
Sad Ellie
c9ef384d14 Possible fix for nested scrolling 2022-06-19 17:17:49 +03:00
Sad Ellie
d0f122497b Improved build time 2022-06-19 16:22:18 +03:00
Sad Ellie
ab4fbaee52 Tiny code clean up 2022-06-19 16:20:43 +03:00
Sad Ellie
e3f70653c0 Added boilerplate notice 2022-06-19 16:12:37 +03:00
Sad Ellie
dc2fdf8fa7 AllUnitsRepository is now singleton
Also moved mapping function from init of MainViewModel to repository.
2022-06-18 21:48:56 +03:00
Sad Ellie
c4b42c764b Fixed colors for switch and radio button 2022-06-18 19:36:10 +03:00
Sad Ellie
a6f1ddee7d Refactored Units list screens
Added second ViewModel
AllUnitsRepository instead of a simple list
Added some tests
Left and right side screen are now separate
2022-06-17 23:47:46 +03:00
Sad Ellie
0c0f7d9c35 Bumped 2022-06-13 18:59:34 +03:00
Sad Ellie
2bfacd9e42 Refactored units list composables 2022-06-12 13:38:56 +03:00
Sad Ellie
bc55e23e04 Fixed unit list loading 2022-06-12 12:36:10 +03:00
Sad Ellie
72f6d2e4f7 Fixed test after adding DI 2022-06-07 20:43:49 +03:00
Sad Ellie
e79ecedfcc Fixed wrongly used colors 2022-06-07 20:40:51 +03:00
Sad Ellie
e034e7bfb7 Fixed logic in MainViewModel's init method 2022-06-05 16:33:28 +03:00
Sad Ellie
63d943cbb9 No more wildcard imports 2022-06-03 20:19:10 +03:00
Sad Ellie
02a6826e1f Possible fix for Analytics option 2022-06-03 20:02:15 +03:00
Sad Ellie
2adf756bff Added dependency injection for DataStore 2022-06-02 21:31:46 +03:00
Sad Ellie
941e260a15 Refactored repository for DataStore
Also renamed app theme from AppTheme to UnittoTheme so that it's less confusing
2022-05-31 21:58:58 +03:00
Sad Ellie
37826b7177 Merge branch 'feature/analyticsToggle' 2022-05-29 01:24:45 +03:00
Sad Ellie
13d96b6998 Added @StringRes annotations 2022-05-29 00:00:08 +03:00
Sad Ellie
7d20406ad6 Reverted theme generation 2022-05-28 23:56:30 +03:00
Sad Ellie
a37babb63d Collapsable top bar for SecondScreen.kt 2022-05-28 23:46:56 +03:00
Sad Ellie
90780d66ef Dependencies bump
Also fixed core-ktx implementation
2022-05-28 20:58:11 +03:00
Sad Ellie
8635b4f54c Send analytics option
User can now decide whether or not the app will send analytics (enabled by default)
2022-05-28 20:03:07 +03:00
Sad Ellie
9d5eb22063 Locales
Default language is UK English now
2022-05-27 22:16:07 +03:00
Sad Ellie
a73624b726 New units and tests
All units (except for currencies) are now tested
Changed some basic units and fixed errors
Added new unit groups
2022-05-27 21:57:51 +03:00
Sad Ellie
95ba5d20fd Quick fix, version bump 2022-05-15 15:24:11 +03:00
Sad Ellie
6a17eafbdd Fixed formatter 2022-05-15 15:23:25 +03:00
Sad Ellie
98606259b5 Text appearance fixes
Fixed cursor not shown in placeholder in SearchBar.kt
Fixed color usage for some texts
2022-05-14 14:18:47 +03:00
Sad Ellie
c11a97c6af Baby pink 2022-05-14 13:02:29 +03:00
Sad Ellie
b09fb4dc2c Dependencies bump 2022-05-14 12:47:37 +03:00
Sad Ellie
d119c94b0a Better (?) units list loading
Moved from LaunchedEffect to another approach. Basically list is updated in onClick methods (not observing value in LaunchedEffect anymore)
2022-05-12 21:39:49 +03:00
Sad Ellie
0f92d24732 Merge branch 'fix/unitsList' 2022-05-11 23:20:40 +03:00
Sad Ellie
f1a3caced4 Merge branch 'improvement/dynamicTheming'
# Conflicts:
#	app/src/main/java/com/sadellie/unitto/screens/Utils.kt
2022-05-11 23:20:31 +03:00
Sad Ellie
b914079da8 Simplified dynamic theme generation 2022-05-11 23:17:55 +03:00
Sad Ellie
84a4611c3d Levenshtein distance improvements 2022-05-11 23:16:28 +03:00
Sad Ellie
9b6798b191 Simplified dynamic theme generation 2022-05-11 23:12:35 +03:00
Sad Ellie
962471e776 Fixed wrong converted values after list changes 2022-05-11 23:11:25 +03:00
Sad Ellie
033e783e4c Levenshtein distance improvements 2022-05-09 21:17:23 +03:00
Sad Ellie
63332d9055 Package namespace
Moved it from AndroidManifest.xml to build.gradle.kts as namespace (recommended way)
2022-05-09 16:24:23 +03:00
Sad Ellie
fbe1217456 Tiny fix to get rid of warning 2022-05-09 14:46:24 +03:00
Sad Ellie
35504f7927 Testable application
Added dependencies for testing
Added tests for stuff in Utils.kt and MainViewModel.kt just to make sure that the setup is working (can move to TDD now)
Added repository for database so that code is more testable
2022-05-09 14:45:29 +03:00
Sad Ellie
1aea22a4b0 Kotlin DSL
Using manifest placeholders now
Convert files from Groovy to Kotlin (shouldn't be any errors)
2022-05-06 23:20:30 +03:00
Sad Ellie
205d849772 Merge remote-tracking branch 'origin/master' 2022-05-03 18:54:57 +03:00
Sad Ellie
b5d66029ac RuPLayMarket 2022-05-03 18:52:39 +03:00
Sad Ellie
a73e002165
Update README.md 2022-04-25 23:23:17 +03:00