mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-08 05:17:56 +00:00
[android] Add validation for custom map download URL
- Add validation for custom map download URL. - Re-enable advanced server button after failed or paused downloads. Signed-off-by: NoelClick <dev@noel.click>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/til_custom_map_server"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/download_resources_custom_url_title"
|
||||
|
||||
@@ -974,4 +974,5 @@
|
||||
<string name="download_resources_custom_url_title">Custom Map Server</string>
|
||||
<string name="download_resources_custom_url_message">Override the default map download server used for map downloads. Leave empty to use CoMaps default server.</string>
|
||||
<string name="download_resources_custom_url_hint">https://maps.comaps.app/</string>
|
||||
<string name="download_resources_custom_url_error_scheme">Please enter a full URL starting with http:// or https:// and ending with /.</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user