Skip to content

Commit 8ce8f80

Browse files
authored
[PM-20430] Fix icon color (#1544)
1 parent 0267831 commit 8ce8f80

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

BitwardenShared/UI/Platform/Application/Appearance/Modifiers/ImageStyle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ extension ImageStyle {
106106
/// - scaleWithFont: Whether the image should scale with font size changes.
107107
///
108108
static func rowIcon(
109-
color: Color = Asset.Colors.textSecondary.swiftUIColor,
109+
color: Color = Asset.Colors.iconPrimary.swiftUIColor,
110110
scaleWithFont: Bool = true
111111
) -> ImageStyle {
112112
ImageStyle(color: color, scaleWithFont: scaleWithFont, width: 24, height: 24)

BitwardenShared/UI/Vault/VaultItem/ViewItem/ViewItemDetailsView.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,12 +475,14 @@ struct ViewItemDetailsView: View { // swiftlint:disable:this type_body_length
475475
HStack(alignment: .top) {
476476
Image(decorative: icon)
477477
.resizable()
478+
.foregroundStyle(Asset.Colors.iconPrimary.swiftUIColor)
478479
.scaledToFit()
479480
.imageStyle(.accessoryIcon16(scaleWithFont: true))
480481
.padding(.top, paddingTopBelongingViewImage)
481482

482483
Text(name)
483484
.styleGuide(.body)
485+
.foregroundStyle(Asset.Colors.textPrimary.swiftUIColor)
484486
}
485487
.accessibilityElement(children: .combine)
486488
}

0 commit comments

Comments
 (0)