diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2019-09-29 11:16:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-29 11:16:10 +0200 |
commit | 373f31c53ea9277205cc0c6a6bdaa44201964500 (patch) | |
tree | f5213e460eba915b99bf2a1963b6b2a56e0c63a9 /core/src/main | |
parent | e3ef12e413ca72f807f0ec7a287e76b0ddc1227f (diff) | |
parent | d6e2803bebca2b42305039a0c265b7e10d870eda (diff) | |
download | AntennaPod-373f31c53ea9277205cc0c6a6bdaa44201964500.zip |
Merge pull request #3416 from orionlee/bugfix_autodownload_wifi_filter_on_android10_3387
Make Automatic Download WiFi filter UI work on Android 10+
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/res/drawable/ic_warning_red.xml | 5 | ||||
-rw-r--r-- | core/src/main/res/values/strings.xml | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/core/src/main/res/drawable/ic_warning_red.xml b/core/src/main/res/drawable/ic_warning_red.xml new file mode 100644 index 000000000..475a41bbb --- /dev/null +++ b/core/src/main/res/drawable/ic_warning_red.xml @@ -0,0 +1,5 @@ +<vector android:height="24dp" android:tint="#FF0000" + android:viewportHeight="24.0" android:viewportWidth="24.0" + android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android"> + <path android:fillColor="#FF000000" android:pathData="M1,21h22L12,2 1,21zM13,18h-2v-2h2v2zM13,14h-2v-4h2v4z"/> +</vector> diff --git a/core/src/main/res/values/strings.xml b/core/src/main/res/values/strings.xml index c7bd2d2a2..adf938d75 100644 --- a/core/src/main/res/values/strings.xml +++ b/core/src/main/res/values/strings.xml @@ -394,6 +394,8 @@ <string name="pref_automatic_download_sum">Configure the automatic download of episodes.</string> <string name="pref_autodl_wifi_filter_title">Enable Wi-Fi filter</string> <string name="pref_autodl_wifi_filter_sum">Allow automatic download only for selected Wi-Fi networks.</string> + <string name="autodl_wifi_filter_permission_title">Permission required</string> + <string name="autodl_wifi_filter_permission_message">Location permission is required for Wi-Fi filter. Tap to grant the permission.</string> <string name="pref_automatic_download_on_battery_title">Download when not charging</string> <string name="pref_automatic_download_on_battery_sum">Allow automatic download when the battery is not charging</string> <string name="pref_parallel_downloads_title">Parallel Downloads</string> |