ARK-Builders / ARK-Navigator

Android app for navigation through your data
MIT License
15 stars 15 forks source link

UserPreferences refactoring #245

Closed mdrlzy closed 2 years ago

mdrlzy commented 2 years ago

Extracted the domain layer from the UserPreferences which will be useful for clean architecture and tests. For example, right now we can't test toggling the display of kinds in the TagSelectorPresenter(#243) because we can't mock UserPreferences. Also now you need to write less code when adding a new property, since there is no need to write a getter, setter and flow.