Skip to content

Commit

Permalink
Fix[controls]: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduytran0 committed Jul 15, 2024
1 parent 958a668 commit 84c63b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion Natives/customcontrols/ControlDrawer.m
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ - (BOOL)containsChild:(ControlButton *)button {

- (void)preProcessProperties {
[super preProcessProperties];
self.properties[@"isHideable"] = @(YES);
}

/*
Expand Down
3 changes: 2 additions & 1 deletion Natives/customcontrols/CustomControlsUtils.m
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ void convertV3_4Layout(NSMutableDictionary* dict) {
}
}

dict[@"version"] = @(6);
dict[@"version"] = @(7);
}

void convertV2Layout(NSMutableDictionary* dict) {
Expand Down Expand Up @@ -184,6 +184,7 @@ BOOL convertLayoutIfNecessary(NSMutableDictionary* dict) {
convertV3_4Layout(dict);
break;
case 6:
case 7:
break;
default:
showDialog(localize(@"custom_controls.control_menu.save.error.json", nil), [NSString stringWithFormat:localize(@"custom_controls.error.incompatible", nil), version]);
Expand Down

0 comments on commit 84c63b5

Please sign in to comment.