Commit Graph

230 Commits

Author SHA1 Message Date
Kirill Kamakin
d2032380c7 Extract corner radius dimension 2021-11-25 19:06:46 +03:00
Kirill Kamakin
57babcbd1f Fix using trySendBlocking where trySend must be 2021-11-23 23:48:53 +03:00
Kirill Kamakin
db2a0b4a94 Wait a second on splash to show image properly 2021-11-23 22:16:22 +03:00
Kirill Kamakin
20cb747b2a Change fullscreen state as soon as possible in splash 2021-11-23 22:16:05 +03:00
Kirill Kamakin
cf9bd407a4 Add new splash fragment image 2021-11-23 22:15:48 +03:00
Kirill Kamakin
6e92d6a233 Improve disclaimer fragment layout 2021-11-23 22:07:26 +03:00
Kirill Kamakin
d8b4245eef Remove app title after user authenticates 2021-11-23 21:04:16 +03:00
Kirill Kamakin
0b00868acc Add icon to the app toolbar 2021-11-23 21:03:43 +03:00
Kirill Kamakin
b69034ec49 Replace app icon 2021-11-23 20:28:34 +03:00
Kirill Kamakin
54753f6ee9 Improve view holder recipe layout 2021-11-23 20:17:24 +03:00
Kirill Kamakin
5639fe4517 Implement toolbar hiding on scroll 2021-11-21 20:45:15 +03:00
Kirill Kamakin
263ebbd431 Replace recipe placeholder image 2021-11-21 20:42:25 +03:00
Kirill Kamakin
9e39b286b9 Set new primary color 2021-11-21 20:42:11 +03:00
Kirill Kamakin
9f0b85127a Remove "tools:targetApi=l" because minSdk is already L 2021-11-21 20:39:58 +03:00
Kirill Kamakin
ecd41c9dc6 Make sure recycler view scrolls recipes 2021-11-21 20:38:38 +03:00
Kirill Kamakin
552d0d2f6c Disable overScrollMode entirely 2021-11-21 20:38:05 +03:00
Kirill Kamakin
d36ebfe50c Show auth errors to the user 2021-11-21 17:29:44 +03:00
Kirill Kamakin
808e1ce359 Map auth errors to internal representation 2021-11-21 17:27:22 +03:00
Kirill Kamakin
e8089c6684 Allow using user's SSL certificates in Debug mode
This is required for Charles Proxy
2021-11-21 16:35:44 +03:00
Kirill Kamakin
0121e90c99 Make bottom left toolbar corner rounded 2021-11-21 15:41:27 +03:00
Kirill Kamakin
e5edf045d8 Improve disclaimer wording and fill README.md 2021-11-21 11:42:38 +03:00
Kirill Kamakin
0a0472c17d Fix ability to click login twice 2021-11-20 22:59:13 +03:00
Kirill Kamakin
5067e1e98f Add bottom padding to instructions list 2021-11-20 22:52:39 +03:00
Kirill Kamakin
35612d14ad Update disclaimer text 2021-11-20 22:42:06 +03:00
Kirill Kamakin
3a4400a14a Use OkHttp for glide too 2021-11-20 22:27:05 +03:00
Kirill Kamakin
dd9c302729 Reuse OkHttp instance 2021-11-20 22:23:51 +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
70c0df1cf7 Fix ConcurrentModificationException in RecipePagingSourceFactory
It seems that it is possible to launch several coroutines on same
main thread of application. That's why it is possible to launch both
invoke and invalidate at the same time even though they are marked as
synchronized. To fix the issue this commit uses a concurrent collection
instead of synchronization.
2021-11-20 21:13:26 +03:00
Kirill Kamakin
965b488eb4 Move shared test classes to root package 2021-11-20 21:09:12 +03:00
Kirill Kamakin
8239f11f13 Add more verbose logging 2021-11-20 20:32:37 +03:00
Kirill Kamakin
32b9e2b32c Add Russian translation 2021-11-20 20:28:58 +03:00
Kirill Kamakin
1d2c5584a8 Read instructions step header from resources 2021-11-20 20:21:46 +03:00
Kirill Kamakin
ff4be6807f Add splash screen 2021-11-20 20:11:19 +03:00
Kirill Kamakin
4b817ba404 Add disclaimer fragment 2021-11-20 18:43:33 +03:00
Kirill Kamakin
0e4016150a Observe auth statuses as LiveData, not Flow 2021-11-20 15:37:03 +03:00
Kirill Kamakin
e39b8ae354 Provide SharedPreferences via Hilt 2021-11-20 15:36:13 +03:00
Kirill Kamakin
06c8144dd3 Update dependencies 2021-11-20 14:24:59 +03:00
Kirill Kamakin
1985764340 Fix ConcurrentModificationException caused by coroutines 2021-11-20 14:07:09 +03:00
Kirill Kamakin
5866584d14 Replace "Mealie" with "Mealient" everywhere 2021-11-20 13:44:07 +03:00
Kirill Kamakin
643d886688 Fix names of keystore properties 2021-11-20 11:21:27 +03:00
Kirill Kamakin
25ac2c3851 Allow building signed app using GitLab CI 2021-11-20 11:12:07 +03:00
Kirill Kamakin
bec22a68ed Add signing configuration 2021-11-20 10:41:27 +03:00
Kirill Kamakin
2250fcfaa9 Remove unused android test dependencies
There are no android tests right now, only unit
2021-11-20 09:52:28 +03:00
Kirill Kamakin
9d948616c9 Remove empty file 2021-11-20 00:47:37 +03:00
Kirill Kamakin
dd33004c6f Add loadRecipeInfo tests 2021-11-20 00:43:00 +03:00
Kirill Kamakin
2f825361cd Add saveRecipeInfo tests 2021-11-20 00:07:01 +03:00
Kirill Kamakin
d64a49b31f Fix opening recipe info without ingredients/instructions 2021-11-17 23:21:37 +03:00
Kirill Kamakin
a67a3a5de0 Implement opening of recipe info card 2021-11-17 22:59:01 +03:00
Kirill Kamakin
7ebe89adfc Implement loading and saving full recipe info 2021-11-17 20:44:14 +03:00
Kirill Kamakin
de6ca65b19 Rename RecipeEntity to RecipeSummaryEntity 2021-11-17 19:34:45 +03:00