mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Shared prefernce isloggedin added and menu displayed accordingly
This commit is contained in:
parent
6e9331b892
commit
b33bf387c6
5 changed files with 40 additions and 1 deletions
|
|
@ -1,4 +1,11 @@
|
|||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<group android:id="@+id/drawer_login">
|
||||
<item
|
||||
android:id="@+id/action_login"
|
||||
android:visible="false"
|
||||
android:icon="@drawable/ic_home_black_24dp"
|
||||
android:title="@string/navigation_item_login" />
|
||||
</group>
|
||||
<group android:id="@+id/drawer_main">
|
||||
<item
|
||||
android:id="@+id/action_home"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue