Skip to content

Commit

Permalink
Update V2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
woheller69 committed Nov 27, 2023
1 parent 7a3d711 commit 4876aa3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 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 22
versionName "2.2"
versionCode 23
versionName "2.3"

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 @@ -116,8 +116,8 @@ private void handleUpdateForecastAction(Intent intent, int cityId, float lat, fl

// Update if update forced or if a certain time has passed
if (skipUpdateInterval || timestamp + updateInterval - systemTime <= 0) {
IHttpRequestForWeatherAPI forecastOneCallRequest = new OMHttpRequestForWeatherAPI(getApplicationContext());
forecastOneCallRequest.perform(lat,lon, cityId);
IHttpRequestForWeatherAPI omHttpRequestForWeatherAPI = new OMHttpRequestForWeatherAPI(getApplicationContext());
omHttpRequestForWeatherAPI.perform(lat,lon, cityId);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class OMHttpRequestForWeatherAPI extends OMHttpRequest implements IHttpRe
/**
* Member variables.
*/
private Context context;
private final Context context;

/**
* @param context The context to use.
Expand Down
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/23.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bugfixes

0 comments on commit 4876aa3

Please sign in to comment.