Skip to content

Commit

Permalink
Merge pull request #180 from saminadhikari18/fix/incorrect-focus-image
Browse files Browse the repository at this point in the history
fixed incorrect set function for focused image
  • Loading branch information
birkir authored May 21, 2024
2 parents 109c0a6 + 9c0bf42 commit 2af9a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native-carplay/ios/RCTConvert+RNCarPlay.m
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ + (CPMapButton*)CPMapButton:(id)json withHandler:(void (^)(CPMapButton * _Nonnul
}

if ([json objectForKey:@"focusedImage"]) {
[mapButton setImage:[RCTConvert UIImage:json[@"focusedImage"]]];
[mapButton setFocusedImage:[RCTConvert UIImage:json[@"focusedImage"]]];
}

if ([json objectForKey:@"disabled"]) {
Expand Down

0 comments on commit 2af9a39

Please sign in to comment.