diff --git a/Modules/InboxComposer/Sources/Composer/Views/SendButton.swift b/Modules/InboxComposer/Sources/Composer/Views/SendButton.swift index da94c7cc72..21b9c4c812 100644 --- a/Modules/InboxComposer/Sources/Composer/Views/SendButton.swift +++ b/Modules/InboxComposer/Sources/Composer/Views/SendButton.swift @@ -22,10 +22,6 @@ struct SendButton: View { @Environment(\.isEnabled) var isEnabled let onTap: () -> Void - private var textColor: Color { - isEnabled ? DS.Color.Text.accent : DS.Color.Brand.minus20 - } - var body: some View { Button( action: onTap, @@ -33,7 +29,7 @@ struct SendButton: View { Text(L10n.Composer.send) .font(.subheadline) .fontWeight(.semibold) - .foregroundStyle(textColor) + .foregroundStyle(DS.Color.Text.inverted) } ) .buttonStyle(SendButtonStyle()) @@ -45,9 +41,9 @@ private struct SendButtonStyle: ButtonStyle { func backgroundColor(configuration: Self.Configuration) -> Color { if isEnabled { - configuration.isPressed ? DS.Color.InteractionBrandWeak.pressed : DS.Color.InteractionBrandWeak.norm + configuration.isPressed ? DS.Color.InteractionBrand.pressed : DS.Color.InteractionBrand.norm } else { - DS.Color.InteractionBrandWeak.disabled + DS.Color.InteractionBrand.disabled } } diff --git a/Modules/InboxComposer/Tests/Snapshots/__Snapshots__/ComposerScreenSnapshotTests/testComposerScreen_whenEmpty_itLayoutsCorrectOnIphoneX.dark.png b/Modules/InboxComposer/Tests/Snapshots/__Snapshots__/ComposerScreenSnapshotTests/testComposerScreen_whenEmpty_itLayoutsCorrectOnIphoneX.dark.png index 773933a447..62d41495b7 100644 Binary files a/Modules/InboxComposer/Tests/Snapshots/__Snapshots__/ComposerScreenSnapshotTests/testComposerScreen_whenEmpty_itLayoutsCorrectOnIphoneX.dark.png and b/Modules/InboxComposer/Tests/Snapshots/__Snapshots__/ComposerScreenSnapshotTests/testComposerScreen_whenEmpty_itLayoutsCorrectOnIphoneX.dark.png differ diff --git a/Modules/InboxComposer/Tests/Snapshots/__Snapshots__/ComposerScreenSnapshotTests/testComposerScreen_whenEmpty_itLayoutsCorrectOnIphoneX.light.png b/Modules/InboxComposer/Tests/Snapshots/__Snapshots__/ComposerScreenSnapshotTests/testComposerScreen_whenEmpty_itLayoutsCorrectOnIphoneX.light.png index af88fd4397..0765d59c65 100644 Binary files a/Modules/InboxComposer/Tests/Snapshots/__Snapshots__/ComposerScreenSnapshotTests/testComposerScreen_whenEmpty_itLayoutsCorrectOnIphoneX.light.png and b/Modules/InboxComposer/Tests/Snapshots/__Snapshots__/ComposerScreenSnapshotTests/testComposerScreen_whenEmpty_itLayoutsCorrectOnIphoneX.light.png differ