Skip to content

Commit 1a2b1ce

Browse files
Copilotrobertherber
andcommitted
Fix iconTint not being applied to shield icon
Co-authored-by: robertherber <1467411+robertherber@users.noreply.github.com>
1 parent ebd1ebb commit 1a2b1ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native-device-activity/targets/ShieldConfiguration/ShieldConfigurationExtension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func resolveIcon(dict: [String: Any]) -> UIImage? {
6161
}
6262

6363
if let iconTint = getColor(color: dict["iconTint"] as? [String: Double]) {
64-
image?.withTintColor(iconTint)
64+
image = image?.withTintColor(iconTint, renderingMode: .alwaysOriginal)
6565
}
6666

6767
return image

0 commit comments

Comments
 (0)