From 4cff51ac8dc370507ed511cf497527eb6918db1c Mon Sep 17 00:00:00 2001 From: LudovicPinel Date: Wed, 31 Jan 2024 17:07:34 +0100 Subject: [PATCH] [#578] ODSButton with low emphasis has incorrect background color (#661) * Update color * Update changelog Reviewed-by: Pierre-Yves Lapersonne --- CHANGELOG.md | 1 + .../Components/Buttons/Internal/ODSEmphasisButton+Style.swift | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9d4fcab..c241e0d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased](https://github.com/Orange-OpenSource/ods-ios/compare/0.16.0...qualif) +- [SDK] ODSButton with low emphasis has incorrect background color (Bug [#578](https://github.com/Orange-OpenSource/ods-ios/issues/578)) - [DemoApp/SDK] Focus order not coherent with Voice Over (Bug [#588](https://github.com/Orange-OpenSource/ods-ios/issues/588)) - [DemoApp] Add configuration in the ListItem screeen to select the number of lines in subtitle([#650](https://github.com/Orange-OpenSource/ods-ios/issues/650)) - [SDK] Update ListItem to limit title in one line and subtitle up to two lines ([#586](https://github.com/Orange-OpenSource/ods-ios/issues/586)) diff --git a/OrangeDesignSystem/Sources/OrangeDesignSystem/Components/Buttons/Internal/ODSEmphasisButton+Style.swift b/OrangeDesignSystem/Sources/OrangeDesignSystem/Components/Buttons/Internal/ODSEmphasisButton+Style.swift index 4073a389..1290f6e4 100644 --- a/OrangeDesignSystem/Sources/OrangeDesignSystem/Components/Buttons/Internal/ODSEmphasisButton+Style.swift +++ b/OrangeDesignSystem/Sources/OrangeDesignSystem/Components/Buttons/Internal/ODSEmphasisButton+Style.swift @@ -78,7 +78,7 @@ private struct ODSEmphasisButtonStyle: ButtonStyle { case .medium: return Color(UIColor.label) case .low: - return Color(UIColor.systemBackground) + return Color.clear case .lowest: return Color.clear }