From 9cd8f7a8714797f0d8152ae7f747630b1dcc71e8 Mon Sep 17 00:00:00 2001 From: woheller69 Date: Sat, 23 Sep 2023 07:28:23 +0200 Subject: [PATCH] update for V2.1 --- app/build.gradle | 4 ++-- .../weather_api/open_meteo/ProcessOMweatherAPIRequest.java | 2 +- app/src/main/res/xml/pref_general.xml | 6 ------ fastlane/metadata/android/en-US/changelogs/21.txt | 4 ++++ 4 files changed, 7 insertions(+), 9 deletions(-) create mode 100644 fastlane/metadata/android/en-US/changelogs/21.txt diff --git a/app/build.gradle b/app/build.gradle index d0362d9..bc38367 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ android { applicationId "org.woheller69.omweather" minSdkVersion 21 targetSdkVersion 33 - versionCode 20 - versionName "2.0" + versionCode 21 + versionName "2.1" buildConfigField "String", "BASE_URL", "\"https://api.open-meteo.com/v1/\"" buildConfigField "String", "GITHUB_URL","\"https://github.com/woheller69/omweather/\"" diff --git a/app/src/main/java/org/woheller69/weather/weather_api/open_meteo/ProcessOMweatherAPIRequest.java b/app/src/main/java/org/woheller69/weather/weather_api/open_meteo/ProcessOMweatherAPIRequest.java index 5cedc18..3e2af9c 100644 --- a/app/src/main/java/org/woheller69/weather/weather_api/open_meteo/ProcessOMweatherAPIRequest.java +++ b/app/src/main/java/org/woheller69/weather/weather_api/open_meteo/ProcessOMweatherAPIRequest.java @@ -140,7 +140,7 @@ public void processSuccessScenario(String response, int cityId) { //Extract quarter-hourly weather dbHelper.deleteQuarterHourlyForecastsByCityId(cityId); - if (json.has("minutely_15") && prefManager.getBoolean("pref_BetaTest",false)){ //not available for all places TODO: Remove Beta + if (json.has("minutely_15")){ List quarterHourlyForecasts = new ArrayList<>(); quarterHourlyForecasts = extractor.extractQuarterHourlyForecast(json.getString("minutely_15")); diff --git a/app/src/main/res/xml/pref_general.xml b/app/src/main/res/xml/pref_general.xml index ccd13a1..b83e82e 100644 --- a/app/src/main/res/xml/pref_general.xml +++ b/app/src/main/res/xml/pref_general.xml @@ -77,12 +77,6 @@ android:defaultValue="false" /> - - diff --git a/fastlane/metadata/android/en-US/changelogs/21.txt b/fastlane/metadata/android/en-US/changelogs/21.txt new file mode 100644 index 0000000..baaff3f --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/21.txt @@ -0,0 +1,4 @@ +Show start/end of precipitation +Improved vector icons +Ukrainian translation +Bugfixes \ No newline at end of file