Implement the dialog to add a new shopping list (#280)
* Add endpoint to create new shopping lists * Initialize editing of lists names * Implement adding new lists * Fix invalid password for demo * Use StateFlow to avoid lost state updates * Refactor the list update to support empty lists * Hide add new list button if there's a new list * Scroll to the newly added list or item * Replace deprecated Divider * Move new field name input to dialog * Display a modal dialog instead of bottom sheet * Reduce unnecessary recompositions * Do not hide button since it is overlapped by dialog * Extract Composable for editable items * Remove unused imports * Add UI for removing and editing shopping lists * Implement editing list name and removing lists * Fix initial cursor state when editing name * Add capitalization of list names * Fix color of divider in dark mode
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
<string name="fragment_add_recipe_clear_button">Clear</string>
|
||||
<string name="fragment_base_url_url_input_helper_text">Example: demo.mealie.io</string>
|
||||
<string name="fragment_authentication_email_input_helper_text">Example: changeme@example.com</string>
|
||||
<string name="fragment_authentication_password_input_helper_text">Example: demo</string>
|
||||
<string name="fragment_authentication_password_input_helper_text">Example: MyPassword</string>
|
||||
<string name="fragment_recipes_last_page_loaded_toast">Last page loaded</string>
|
||||
<string name="fragment_recipes_load_failure_toast" comment="EXAMPLE: Load error: unauthorized.">Load error: %1$s.</string>
|
||||
<string name="fragment_recipes_load_failure_toast_no_reason">Load failed.</string>
|
||||
|
||||
Reference in New Issue
Block a user