Kirill Kamakin
9db89965c0
Start migration to Material 3
...
Theme was generated here
https://material-foundation.github.io/material-theme-builder/#/custom
Primary: BB86FC
Secondary: 655A70
Tertiary: 805159
Neutral: 605D62
2022-04-09 17:32:19 +05:00
Kirill Kamakin
e7620400b8
Use single UI state for activity
2022-04-09 03:06:02 +05:00
Kirill Kamakin
d2029438d7
Fix handling result in BaseURLFragment and AuthenticationFragment
2022-04-08 21:19:05 +05:00
Kirill Kamakin
7c081c199a
Replace AccountManager with EncryptedSharedPreferences
2022-04-08 20:07:32 +05:00
Kirill Kamakin
b129913a82
Clear unused and fix tests
2022-04-08 17:54:23 +05:00
Kirill Kamakin
57f4ec4e22
Implement the simplest account manager authentication
2022-04-08 17:54:22 +05:00
Kirill Kamakin
096b5389bd
Use AccountManager
2022-04-08 17:54:21 +05:00
Kirill Kamakin
680afcc99a
Fix inability to press back on recipes after input URL
2022-04-06 15:48:15 +05:00
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
c8019e9c85
Implement hiding ingredients and instructions
2021-12-27 19:41:56 +03:00
Kirill Kamakin
6232af2295
Improve recipe info screen UI
2021-12-27 14:47:53 +03:00
Davide Baret
9396fab237
Fix background color for dark theme
2021-12-24 20:05:33 +01:00
Kirill Kamakin
186e1bf944
Show password disguise toggle icon ( #16 )
...
Fixes #6
2021-11-27 16:44:56 +00:00
Kirill Kamakin
f74973e40a
Fix expanding bottom sheet when not enough content ( #15 )
...
This commit makes sure bottom sheet dialog has the size
of its contents. That way it doesn't expand further than it
should. Fixes #4
2021-11-27 16:40:41 +00:00
Kirill Kamakin
44458dd146
Fix a number of lint issues ( #2 )
...
* Fix systemUiVisibility deprecation warnings
This commit extracts setSystemUiVisibility as
an extension and uses the new API depending on
the Build.VERSION
* Fix splash fragment vector issues
Clip-path isn't available before V24 and
width/height should not exceed 200 dp.
* Remove unused disclaimer fragment header
* Remove unused ic_launcher_round
* Ignore IconMissingDensityFolder lint
Ignoring it because all the images are vector
* Ignore UnusedAttribute lint
It warns about networkSecurityConfig which
is used only in debug builds to allow
user SSL certificates. Lint says it's not
available before v24. But it doesn't matter
since before v24 the user SSL certificates
were allowed by default.
* Use plurals for disclaimer count down
2021-11-27 13:10:00 +00:00
Kirill Kamakin
339f8327de
Implement URL input format checks
2021-11-27 12:27:25 +03:00
Kirill Kamakin
715e63a1d4
Specify RecipeInfoFragment's layout managers in xml
2021-11-27 10:39:57 +03:00
Kirill Kamakin
cc5c9edb1f
Refactor RecipesFragment
...
This commit extracts SwipeRefreshLayout extension to a
separate file. Additionally, it refactors RecipesFragment in
order to move all the logic to the ViewModel from the View.
2021-11-27 00:22:52 +03:00
Kirill Kamakin
7ecad55a60
Update recipe view holder ellipsize params
2021-11-25 20:18:21 +03:00
Kirill Kamakin
0d3dfeebd9
Use rounded corners for recipe view holder
2021-11-25 20:15:01 +03:00
Kirill Kamakin
e701b5d7df
Show recipe info in bottom sheet dialog
2021-11-25 20:06:53 +03:00
Kirill Kamakin
6c41c4fcf6
Use center crop for recipe images
2021-11-25 19:34:31 +03:00
Kirill Kamakin
5070f975c4
Use placeholder_recipe in layout designer
2021-11-25 19:07:49 +03:00
Kirill Kamakin
d2032380c7
Extract corner radius dimension
2021-11-25 19:06:46 +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
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
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
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
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
5866584d14
Replace "Mealie" with "Mealient" everywhere
2021-11-20 13:44:07 +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