Skip to content

Commit

Permalink
update for V2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
woheller69 committed Sep 23, 2023
1 parent ca6a04c commit 9cd8f7a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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/\""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<QuarterHourlyForecast> quarterHourlyForecasts = new ArrayList<>();
quarterHourlyForecasts = extractor.extractQuarterHourlyForecast(json.getString("minutely_15"));

Expand Down
6 changes: 0 additions & 6 deletions app/src/main/res/xml/pref_general.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@
android:defaultValue="false"
/>

<SwitchPreference
android:key="pref_BetaTest"
android:title="Beta testing"
android:defaultValue="false"
/>

</PreferenceCategory>

<PreferenceCategory android:title="@string/settings_title_units">
Expand Down
4 changes: 4 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/21.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Show start/end of precipitation
Improved vector icons
Ukrainian translation
Bugfixes

0 comments on commit 9cd8f7a

Please sign in to comment.