Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migrate to compose part 1 (#898)
* feat: convert setup screens to compose * refactor: move all setup related strings from core to setup module And remove some old fragments * refactor(tv): move AddServerScreen and LoginScreen to new viewmodels * feat(tv): add WelcomeScreen * feat: add ServersScreen * feat(welcome): move buttons to center * feat(servers): replace add server button by fab * refactor: remove DiscoverServerScreen and put discovered servers on AddServerScreen * refactor(tv): move ServerSelectScreen to ServersViewModel * refactor: remove ServerSelectFragment * refactor: move set current server to repository * refactor: remove leftover discovered server code * fix(servers): fill remaining space when there are no servers * refactor: replace icon with image and animate discovered servers * feat(login): add divider between login and quick connect buttons * feat(addserver,tv): list discovered servers * lint: fix servers_no_servers string * feat: animate quick connect button appearing * feat(tv): animate quick connect button appearing * feat(login): display current server * feat(login): add button to change server * fix: place top buttons above the column * refactor: streamline themes between phone and tv * refactor: streamline screens between phone and tv * feat(phone): add users screen * refactor(tv): migrate UsersScreen to new viewmodel * refactor: remove old users fragment code * refactor(tv): migrate to native compose navigation * chore: move all user related strings to setup module * chore: remove unused NavigationPlayer.kt * chore: move remove_server_dialog strings to setup module * refactor: remove tests for now * refactor: run startup checks in viewmodel * refactor: remove unused code * fix: add back uiState to MainViewModel for MainScreen * feat: hide password by default and add eye to toggle visibility * fix(phone): hide back button when screen is start destination * fix(phone): only navigate when current lifecycle state is resumed and increase navigation animation speed * refactor: simplify when to show back button by checking the previous back stack entry * refactor: remove extra check in showBack * refactor: make discoverServers a normal method
- Loading branch information