Allow changing base URL from UI

This commit is contained in:
Kirill Kamakin
2022-11-12 12:32:44 +01:00
parent e835d5bbe5
commit 4e1e3f81e3
6 changed files with 22 additions and 0 deletions

View File

@@ -7,4 +7,8 @@
<item
android:id="@+id/add_recipe"
android:title="@string/menu_bottom_navigation_add_recipe" />
<item
android:id="@+id/change_url"
android:title="@string/menu_bottom_navigation_change_url" />
</menu>

View File

@@ -72,4 +72,8 @@
<action
android:id="@+id/action_global_addRecipeFragment"
app:destination="@id/addRecipeFragment" />
<action
android:id="@+id/action_global_baseURLFragment"
app:destination="@id/baseURLFragment" />
</navigation>

View File

@@ -47,4 +47,5 @@
<string name="fragment_recipes_load_failure_toast_unexpected_response">неожиданный ответ</string>
<string name="fragment_recipes_load_failure_toast_no_connection">нет соединения</string>
<string name="fragment_recipes_load_failure_toast_no_reason">Ошибка загрузки.</string>
<string name="menu_bottom_navigation_change_url">Сменить URL</string>
</resources>

View File

@@ -51,4 +51,5 @@
<string name="fragment_recipes_load_failure_toast_unauthorized">unauthorized</string>
<string name="fragment_recipes_load_failure_toast_unexpected_response">unexpected response</string>
<string name="fragment_recipes_load_failure_toast_no_connection">no connection</string>
<string name="menu_bottom_navigation_change_url">Change URL</string>
</resources>