mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-20 12:49:02 +00:00
fix crash in avatar customization
This commit is contained in:
parent
1aa5da182b
commit
bd8df11057
1 changed files with 3 additions and 0 deletions
|
|
@ -149,6 +149,9 @@ public class AvatarCustomizationFragment extends BaseMainFragment {
|
|||
|
||||
private void updateActiveCustomization() {
|
||||
Preferences prefs = this.user.getPreferences();
|
||||
if (this.type == null) {
|
||||
return;
|
||||
}
|
||||
switch (this.type) {
|
||||
case "skin":
|
||||
this.activeCustomization = prefs.getSkin();
|
||||
|
|
|
|||
Loading…
Reference in a new issue