Skip to content

Commit

Permalink
Update for V5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
woheller69 committed Apr 11, 2023
1 parent ce4d6ad commit 053fd9c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 17 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ android {
applicationId "org.woheller69.weather"
minSdkVersion 21
targetSdkVersion 31
versionCode 58
versionName "5.8"
versionCode 59
versionName "5.9"

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 @@ -144,18 +144,6 @@ private void selectNavigationItem(int itemId) {
}
}

/**
* Enables back navigation for activities that are launched from the NavBar. See
* {@code AndroidManifest.xml} to find out the parent activity names for each activity.
*
* @param intent
*/
private void createBackStack(Intent intent) {
TaskStackBuilder builder = TaskStackBuilder.create(this);
builder.addNextIntentWithParentStack(intent);
builder.startActivities();
}

private void callDrawerItem(final int itemId) {

Intent intent;
Expand All @@ -174,13 +162,13 @@ private void callDrawerItem(final int itemId) {
startActivity(intent);
}else if (itemId==R.id.nav_radius) {
intent = new Intent(this, RadiusSearchActivity.class);
createBackStack(intent);
startActivity(intent);
}else if (itemId==R.id.nav_about) {
intent = new Intent(this, AboutActivity.class);
createBackStack(intent);
startActivity(intent);
}else if(itemId==R.id.nav_settings) {
intent = new Intent(this, SettingsActivity.class);
createBackStack(intent);
startActivity(intent);
}else if (itemId==R.id.star_on_github){
startActivity(new Intent(Intent.ACTION_VIEW,
Uri.parse(BuildConfig.GITHUB_URL)));
Expand Down
7 changes: 7 additions & 0 deletions fastlane/metadata/android/de-DE/changelogs/59.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Windsymbole hinzugefügt
Wolkenlayer aus Rainviewer im Regenradar
Weiße Linien im Regenradar enfernt
Farbe für maximalen UV-Level is violett
Layout-Verbesserungen

Bitte testen Sie meine neue omWeather-App!
7 changes: 7 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/59.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Add wind icons
Use Rainviewer clouds layer in rain radar
Fix white lines in rain radar
Use violet for max uv level
Layout improvements

Please try my new omWeather app !

0 comments on commit 053fd9c

Please sign in to comment.