Skip to content

Commit

Permalink
V6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
woheller69 committed Mar 19, 2024
1 parent 70e9b5a commit aabf351
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "org.woheller69.weather"
minSdkVersion 21
targetSdkVersion 33
versionCode 63
versionName "6.3"
versionCode 64
versionName "6.4"

buildConfigField "String", "DEFAULT_API_KEY", "\"00000000000000000000000000000000\""
buildConfigField "String", "BASE_URL", "\"https://api.openweathermap.org/data/2.5/\""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,11 @@ public float convertDistanceFromKilometers(float kilometers) {
}
}

/**
* @return Returns true if kilometers was set as distance unit in the preferences else false.
*/
public boolean isDistanceUnitKilometers() {
int prefValue = Integer.parseInt(preferences.getString("distanceUnit", "0"));
return (prefValue == 1);
}

/**
* @return Returns true if miles was set as distance unit in the preferences else false.
*/
public boolean isDistanceUnitMiles() {
int prefValue = Integer.parseInt(preferences.getString("distanceUnit", "0"));
int prefValue = Integer.parseInt(preferences.getString("distanceUnit", "1"));
return (prefValue == 2);
}

Expand Down
1 change: 1 addition & 0 deletions fastlane/metadata/android/de-DE/changelogs/64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix translation

0 comments on commit aabf351

Please sign in to comment.