Allow changing base URL from UI
This commit is contained in:
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user