4 Commits

Author SHA1 Message Date
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
72f6d2e4f7 Fixed test after adding DI 2022-06-07 20:43:49 +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
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