Skip to content

Commit

Permalink
hotfix: load version 7 controls
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias-Boulay committed May 25, 2024
1 parent f0daae3 commit 94bc4eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static CustomControls loadAndConvertIfNecessary(String jsonPath) throws I
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;
Expand Down

0 comments on commit 94bc4eb

Please sign in to comment.