From 3e45526beb7ce18b6524d6054197436afcbc503b Mon Sep 17 00:00:00 2001 From: David Christiandy <1299411+dvdchr@users.noreply.github.com> Date: Fri, 8 Apr 2022 23:18:11 +0700 Subject: [PATCH] Use material lightbulb icon --- .../Cards/Prompts/DashboardPromptsCardCell.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WordPress/Classes/ViewRelated/Blog/Blog Dashboard/Cards/Prompts/DashboardPromptsCardCell.swift b/WordPress/Classes/ViewRelated/Blog/Blog Dashboard/Cards/Prompts/DashboardPromptsCardCell.swift index ed260667fa1e..67afbb005aa5 100644 --- a/WordPress/Classes/ViewRelated/Blog/Blog Dashboard/Cards/Prompts/DashboardPromptsCardCell.swift +++ b/WordPress/Classes/ViewRelated/Blog/Blog Dashboard/Cards/Prompts/DashboardPromptsCardCell.swift @@ -226,7 +226,7 @@ private extension DashboardPromptsCardCell { } struct Style { - static let frameIconImage = UIImage(systemName: "lightbulb") + static let frameIconImage = UIImage(named: "icon-lightbulb-outline")?.resizedImage(Constants.cardIconSize, interpolationQuality: .default) static let promptContentFont = WPStyleGuide.serifFontForTextStyle(.headline, fontWeight: .semibold) static let buttonTitleFont = WPStyleGuide.fontForTextStyle(.subheadline) static let buttonTitleColor = UIColor.primary @@ -236,6 +236,7 @@ private extension DashboardPromptsCardCell { struct Constants { static let spacing: CGFloat = 12 static let answeredButtonsSpacing: CGFloat = 16 + static let cardIconSize = CGSize(width: 18, height: 18) static let cardFrameConstraintPriority = UILayoutPriority(999) }