From fe98559d4aac1ab7bb888352c74c5816ce20c5b9 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Mon, 25 Oct 2021 13:45:41 +0300 Subject: [PATCH] vector-im/element-ios/issues/5041 - Fixed share extension and message forwarding room list accessory view icon. --- .../radio-button-default.imageset/Contents.json | 3 +++ .../radio-button-selected.imageset/Contents.json | 3 +++ .../Shared/View/RecentRoomTableViewCell.m | 1 + .../Shared/View/RecentRoomTableViewCell.xib | 11 ++++++----- changelog.d/5041.bugfix | 1 + 5 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 changelog.d/5041.bugfix diff --git a/Riot/Assets/SharedImages.xcassets/radio-button-default.imageset/Contents.json b/Riot/Assets/SharedImages.xcassets/radio-button-default.imageset/Contents.json index 35812152a8..74d91f39dc 100644 --- a/Riot/Assets/SharedImages.xcassets/radio-button-default.imageset/Contents.json +++ b/Riot/Assets/SharedImages.xcassets/radio-button-default.imageset/Contents.json @@ -19,5 +19,8 @@ "info" : { "author" : "xcode", "version" : 1 + }, + "properties" : { + "template-rendering-intent" : "template" } } diff --git a/Riot/Assets/SharedImages.xcassets/radio-button-selected.imageset/Contents.json b/Riot/Assets/SharedImages.xcassets/radio-button-selected.imageset/Contents.json index a69d70fe66..a7cfab75b3 100644 --- a/Riot/Assets/SharedImages.xcassets/radio-button-selected.imageset/Contents.json +++ b/Riot/Assets/SharedImages.xcassets/radio-button-selected.imageset/Contents.json @@ -19,5 +19,8 @@ "info" : { "author" : "xcode", "version" : 1 + }, + "properties" : { + "template-rendering-intent" : "template" } } diff --git a/RiotShareExtension/Shared/View/RecentRoomTableViewCell.m b/RiotShareExtension/Shared/View/RecentRoomTableViewCell.m index 31beb9cbf2..b6fc0d27ce 100644 --- a/RiotShareExtension/Shared/View/RecentRoomTableViewCell.m +++ b/RiotShareExtension/Shared/View/RecentRoomTableViewCell.m @@ -57,6 +57,7 @@ - (void)awakeFromNib self.roomTitleLabel.textColor = ThemeService.shared.theme.textPrimaryColor; self.contentView.backgroundColor = ThemeService.shared.theme.backgroundColor; + self.selectionButton.tintColor = ThemeService.shared.theme.tintColor; [self.selectionButton setImage:[UIImage imageNamed:@"radio-button-default"] forState:UIControlStateNormal]; [self.selectionButton setImage:[UIImage imageNamed:@"radio-button-selected"] forState:UIControlStateSelected]; diff --git a/RiotShareExtension/Shared/View/RecentRoomTableViewCell.xib b/RiotShareExtension/Shared/View/RecentRoomTableViewCell.xib index fe39d2a67e..a61bc36e61 100644 --- a/RiotShareExtension/Shared/View/RecentRoomTableViewCell.xib +++ b/RiotShareExtension/Shared/View/RecentRoomTableViewCell.xib @@ -1,9 +1,9 @@ - + - + @@ -40,14 +40,15 @@ - diff --git a/changelog.d/5041.bugfix b/changelog.d/5041.bugfix new file mode 100644 index 0000000000..07882c0732 --- /dev/null +++ b/changelog.d/5041.bugfix @@ -0,0 +1 @@ +Fixed share extension and message forwarding room list accessory view icon. \ No newline at end of file