diff --git a/Ring/Ring/Extensions/UIImage+Helpers.swift b/Ring/Ring/Extensions/UIImage+Helpers.swift index be529a1ffe83ff3a553b822d9cc3a9d079878088..d45750cbcdc22b9226a326d455cb48fe8a5e21d3 100644 --- a/Ring/Ring/Extensions/UIImage+Helpers.swift +++ b/Ring/Ring/Extensions/UIImage+Helpers.swift @@ -225,8 +225,8 @@ extension UIImage { return newSize } - func resizeImageWith(newSize: CGSize) -> UIImage? { - UIGraphicsBeginImageContextWithOptions(newSize, true, 0) + func resizeImageWith(newSize: CGSize, opaque: Bool = true) -> UIImage? { + UIGraphicsBeginImageContextWithOptions(newSize, opaque, 0) draw(in: CGRect(origin: CGPoint(x: 0, y: 0), size: newSize)) let newImage = UIGraphicsGetImageFromCurrentImageContext() UIGraphicsEndImageContext() diff --git a/Ring/Ring/Features/Conversations/SmartList/SmartlistViewController.swift b/Ring/Ring/Features/Conversations/SmartList/SmartlistViewController.swift index 38c32a502fd34466983b50cc2627eb026c4aa40f..5cc022fb034f5943c535f374abdea569332fb44f 100644 --- a/Ring/Ring/Features/Conversations/SmartList/SmartlistViewController.swift +++ b/Ring/Ring/Features/Conversations/SmartList/SmartlistViewController.swift @@ -682,7 +682,7 @@ extension SmartlistViewController { // MARK: - Action creation functions private var configuration: UIImage.SymbolConfiguration { - return UIImage.SymbolConfiguration(pointSize: 40, weight: .regular, scale: .large) + return UIImage.SymbolConfiguration(scale: .medium) } private func createSwarmAction() -> UIAction { @@ -721,7 +721,7 @@ extension SmartlistViewController { } private func aboutJamiAction() -> UIAction { - let image = UIImage(asset: Asset.jamiIcon) + let image = UIImage(asset: Asset.jamiIcon)?.resizeImageWith(newSize: CGSize(width: 22, height: 22), opaque: false) return UIAction(title: L10n.Smartlist.aboutJami, image: image, identifier: nil, discoverabilityTitle: nil, attributes: [], state: .off) { _ in SharedActionsPresenter.showAboutJamiAlert(onViewController: self) }