Skip to content

Commit

Permalink
fixed top bar restriction for guests(#4863)
Browse files Browse the repository at this point in the history
  • Loading branch information
Avinash-Codes committed Dec 12, 2024
1 parent f3b9bc2 commit 7f07dc6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/fragment_team.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
android:layout_height="wrap_content"
android:gravity="center"
android:padding="@dimen/padding_small"
android:text="Type"
android:text="@string/typename"
android:textColor="@color/daynight_textColor"
android:textStyle="bold"
app:layout_constraintEnd_toStartOf="@id/no_of_visits"
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
<string name="type_name_to_search">Type name to search</string>
<string name="action">Action</string>
<string name="created_on">Created On</string>
<string name="typename">Type</string>
<string name="name_normal">Name</string>
<string name="mypersonals">myPersonals</string>
<string name="capture_image">Capture Image</string>
Expand Down

0 comments on commit 7f07dc6

Please sign in to comment.