From 05df61471fb4c2d9d3592c80004577d12d814444 Mon Sep 17 00:00:00 2001 From: Avinash Sharma <133222313+Avinash-Codes@users.noreply.github.com> Date: Sat, 14 Dec 2024 01:29:01 +0530 Subject: [PATCH] all: smoother guests navigation (fixes #4863) (#4869) Co-authored-by: dogi --- app/build.gradle | 4 ++-- .../ole/planet/myplanet/ui/sync/DashboardElementActivity.kt | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index e5fb1900b6..a6db796229 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,8 +10,8 @@ android { applicationId "org.ole.planet.myplanet" minSdkVersion 26 targetSdkVersion 34 - versionCode 2136 - versionName "0.21.36 + versionCode 2137 + versionName "0.21.37" ndkVersion '21.3.6528147' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true diff --git a/app/src/main/java/org/ole/planet/myplanet/ui/sync/DashboardElementActivity.kt b/app/src/main/java/org/ole/planet/myplanet/ui/sync/DashboardElementActivity.kt index d6e2042da8..3198454964 100644 --- a/app/src/main/java/org/ole/planet/myplanet/ui/sync/DashboardElementActivity.kt +++ b/app/src/main/java/org/ole/planet/myplanet/ui/sync/DashboardElementActivity.kt @@ -64,11 +64,7 @@ abstract class DashboardElementActivity : SyncActivity(), FragmentManager.OnBack 4 -> openEnterpriseFragment() 3 -> openCallFragment(TeamFragment(), "survey") 5 -> { - if (profileDbHandler.userModel?.isGuest() == true) { - showGuestUserDialog() - } else { - openCallFragment(CommunityTabFragment(), "community") - } + openCallFragment(CommunityTabFragment(), "community") } } }