From 053fd9c3e02ac9ae8a86ff8aca817fc1e13c3a5b Mon Sep 17 00:00:00 2001 From: woheller69 Date: Tue, 11 Apr 2023 09:13:46 +0200 Subject: [PATCH] Update for V5.9 --- app/build.gradle | 4 ++-- .../weather/activities/NavigationActivity.java | 18 +++--------------- .../metadata/android/de-DE/changelogs/59.txt | 7 +++++++ .../metadata/android/en-US/changelogs/59.txt | 7 +++++++ 4 files changed, 19 insertions(+), 17 deletions(-) create mode 100644 fastlane/metadata/android/de-DE/changelogs/59.txt create mode 100644 fastlane/metadata/android/en-US/changelogs/59.txt diff --git a/app/build.gradle b/app/build.gradle index 5019098..b3eca88 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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/\"" diff --git a/app/src/main/java/org/woheller69/weather/activities/NavigationActivity.java b/app/src/main/java/org/woheller69/weather/activities/NavigationActivity.java index 97c06f8..59a955f 100644 --- a/app/src/main/java/org/woheller69/weather/activities/NavigationActivity.java +++ b/app/src/main/java/org/woheller69/weather/activities/NavigationActivity.java @@ -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; @@ -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))); diff --git a/fastlane/metadata/android/de-DE/changelogs/59.txt b/fastlane/metadata/android/de-DE/changelogs/59.txt new file mode 100644 index 0000000..034cfc3 --- /dev/null +++ b/fastlane/metadata/android/de-DE/changelogs/59.txt @@ -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! \ No newline at end of file diff --git a/fastlane/metadata/android/en-US/changelogs/59.txt b/fastlane/metadata/android/en-US/changelogs/59.txt new file mode 100644 index 0000000..d405c06 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/59.txt @@ -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 ! \ No newline at end of file