mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-09 12:43:36 -04:00
hotfix: load version 7 controls
This commit is contained in:
parent
f0daae373e
commit
94bc4ebb90
@ -30,7 +30,7 @@ public class LayoutConverter {
|
||||
return layout;
|
||||
}else if (layoutJobj.getInt("version") >= 3 && layoutJobj.getInt("version") <= 5) {
|
||||
return LayoutConverter.convertV3_4Layout(layoutJobj);
|
||||
} else if (layoutJobj.getInt("version") == 6) {
|
||||
} else if (layoutJobj.getInt("version") == 6 || layoutJobj.getInt("version") == 7) {
|
||||
return Tools.GLOBAL_GSON.fromJson(jsonLayoutData, CustomControls.class);
|
||||
} else {
|
||||
return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user