mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-20 04:39:04 +00:00
hide menu badge if AG disabled
This commit is contained in:
parent
efce4158b5
commit
a298c7ffef
1 changed files with 5 additions and 1 deletions
|
|
@ -364,7 +364,11 @@ open class MainActivity : BaseActivity(), TutorialView.OnTutorialReaction {
|
|||
})
|
||||
}
|
||||
|
||||
drawerIcon.setEnabled(user?.hasCompletedOnboarding == false)
|
||||
if (appConfigManager.enableAdventureGuide()) {
|
||||
drawerIcon.setEnabled(user?.hasCompletedOnboarding == false)
|
||||
} else {
|
||||
drawerIcon.setEnabled(false)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue