Commit Graph

13 Commits

Author SHA1 Message Date
Kirill Kamakin
468aa8c02a Implement login/logout functionality 2022-04-04 16:42:22 +05:00
Kirill Kamakin
f44f54522d Extract Base URL from authentication 2022-04-04 03:34:50 +05:00
Kirill Kamakin
b3e25db4df Replace Shared Preferences with Data Store 2022-04-03 19:59:57 +05:00
Kirill Kamakin
7fc2887dc7 Major code refactoring
Main goals are:
1. Ability to use mocks in unit tests instead of
having to setup mock web server as if it was an
integration test.
2. Cache Retrofit services in memory
3. Make it easier to read
4. Use OptIn where possible instead of propagating
Experimental* annotations everywhere
2022-04-03 00:17:28 +05:00
Kirill Kamakin
a36fec226d Use view binding property delegate (#22) 2021-12-27 08:37:10 +00:00
Kirill Kamakin
a15fac7c7e Hide error when text is entered (#14) 2021-11-27 16:36:30 +00:00
Kirill Kamakin
339f8327de Implement URL input format checks 2021-11-27 12:27:25 +03:00
Kirill Kamakin
d8b4245eef Remove app title after user authenticates 2021-11-23 21:04:16 +03:00
Kirill Kamakin
d36ebfe50c Show auth errors to the user 2021-11-21 17:29:44 +03:00
Kirill Kamakin
0a0472c17d Fix ability to click login twice 2021-11-20 22:59:13 +03:00
Kirill Kamakin
a6e948ca6b Fix calling navigateToAuth twice and even more
Calling that method several times in a row is not supported,
Navigation library throws an Exception saying it doesn't know how
to navigate there
2021-11-20 22:07:43 +03:00
Kirill Kamakin
0e4016150a Observe auth statuses as LiveData, not Flow 2021-11-20 15:37:03 +03:00
Kirill Kamakin
5866584d14 Replace "Mealie" with "Mealient" everywhere 2021-11-20 13:44:07 +03:00