mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-25 15:16:01 +00:00
MP shouldn't be visible if user opt-out class system
This commit is contained in:
parent
3b0c2e0b86
commit
c7dded48ed
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ public class AvatarWithBarsViewModel implements View.OnClickListener {
|
|||
userClass += stats.getCleanedClassName();
|
||||
}
|
||||
|
||||
mpBar.valueBarLayout.setVisibility((stats.get_class() == null || stats.getLvl() < 10) ? View.GONE : View.VISIBLE);
|
||||
mpBar.valueBarLayout.setVisibility((stats.get_class() == null || stats.getLvl() < 10 || user.getPreferences().getDisableClasses()) ? View.GONE : View.VISIBLE);
|
||||
|
||||
lvlText.setText("Lvl " + user.getStats().getLvl() + " - " + userClass);
|
||||
Drawable drawable;
|
||||
|
|
|
|||
Loading…
Reference in a new issue