diff --git a/Riot/Assets/Images.xcassets/Room/more_reactions.imageset/Contents.json b/Riot/Assets/Images.xcassets/Room/more_reactions.imageset/Contents.json index deb17e0f5..1e35d8afc 100644 --- a/Riot/Assets/Images.xcassets/Room/more_reactions.imageset/Contents.json +++ b/Riot/Assets/Images.xcassets/Room/more_reactions.imageset/Contents.json @@ -1,23 +1,26 @@ { "images" : [ { - "idiom" : "universal", "filename" : "more_reactions.png", + "idiom" : "universal", "scale" : "1x" }, { - "idiom" : "universal", "filename" : "more_reactions@2x.png", + "idiom" : "universal", "scale" : "2x" }, { - "idiom" : "universal", "filename" : "more_reactions@3x.png", + "idiom" : "universal", "scale" : "3x" } ], "info" : { - "version" : 1, - "author" : "xcode" + "author" : "xcode", + "version" : 1 + }, + "properties" : { + "template-rendering-intent" : "template" } -} \ No newline at end of file +} diff --git a/Riot/Modules/Room/ContextualMenu/ReactionsMenu/ReactionsMenuView.swift b/Riot/Modules/Room/ContextualMenu/ReactionsMenu/ReactionsMenuView.swift index 082e368e4..b539368c3 100644 --- a/Riot/Modules/Room/ContextualMenu/ReactionsMenu/ReactionsMenuView.swift +++ b/Riot/Modules/Room/ContextualMenu/ReactionsMenu/ReactionsMenuView.swift @@ -59,10 +59,7 @@ final class ReactionsMenuView: UIView, Themable, NibLoadable { super.awakeFromNib() self.reactionsBackgroundView.layer.masksToBounds = true - - let moreReactionsImage = Asset.Images.moreReactions.image.withRenderingMode(.alwaysTemplate) - self.moreReactionsButton.setImage(moreReactionsImage, for: .normal) - + self.moreReactionsButton.setImage(Asset.Images.moreReactions.image, for: .normal) self.update(theme: ThemeService.shared().theme) } @@ -78,7 +75,7 @@ final class ReactionsMenuView: UIView, Themable, NibLoadable { func update(theme: Theme) { self.reactionsBackgroundView.backgroundColor = theme.headerBackgroundColor self.moreReactionsBackgroundView.backgroundColor = theme.headerBackgroundColor - self.moreReactionsButton.tintColor = theme.textPrimaryColor + self.moreReactionsButton.tintColor = theme.tintColor } func selectionAnimationInstructionPart1() {