From 37d1ed7f913be20a7c0bd49201caff3afb6c62b1 Mon Sep 17 00:00:00 2001 From: Giorgio Ruscigno Date: Wed, 11 May 2022 11:23:38 -0500 Subject: [PATCH 1/2] Update Widgets views, remove horizontal flipping in rtl --- WordPress/WordPressStatsWidgets/Views/Cards/FlexibleCard.swift | 1 - WordPress/WordPressStatsWidgets/Views/Cards/ListRow.swift | 1 - WordPress/WordPressStatsWidgets/Views/Cards/VerticalCard.swift | 1 - WordPress/WordPressStatsWidgets/Views/SingleStatView.swift | 1 - 4 files changed, 4 deletions(-) diff --git a/WordPress/WordPressStatsWidgets/Views/Cards/FlexibleCard.swift b/WordPress/WordPressStatsWidgets/Views/Cards/FlexibleCard.swift index 0f5c64b468b3..0a453b92cc9d 100644 --- a/WordPress/WordPressStatsWidgets/Views/Cards/FlexibleCard.swift +++ b/WordPress/WordPressStatsWidgets/Views/Cards/FlexibleCard.swift @@ -62,7 +62,6 @@ struct FlexibleCard: View { Spacer() titleView } - .flipsForRightToLeftLayoutDirection(true) } } } diff --git a/WordPress/WordPressStatsWidgets/Views/Cards/ListRow.swift b/WordPress/WordPressStatsWidgets/Views/Cards/ListRow.swift index cd641190d306..b098837745ca 100644 --- a/WordPress/WordPressStatsWidgets/Views/Cards/ListRow.swift +++ b/WordPress/WordPressStatsWidgets/Views/Cards/ListRow.swift @@ -80,7 +80,6 @@ struct ListRow: View { .frame(height: rowHeight) .offset(x: 0, y: Constants.verticalCenteringOffset) // each row isn't _quite_ centered vertically // and we're not entirely sure why yet, but this fixes it - .flipsForRightToLeftLayoutDirection(true) } } diff --git a/WordPress/WordPressStatsWidgets/Views/Cards/VerticalCard.swift b/WordPress/WordPressStatsWidgets/Views/Cards/VerticalCard.swift index 254c26a4b49a..6f6ac6be0a62 100644 --- a/WordPress/WordPressStatsWidgets/Views/Cards/VerticalCard.swift +++ b/WordPress/WordPressStatsWidgets/Views/Cards/VerticalCard.swift @@ -30,7 +30,6 @@ struct VerticalCard: View { .accessibility(label: accessibilityLabel) } - .flipsForRightToLeftLayoutDirection(true) } } diff --git a/WordPress/WordPressStatsWidgets/Views/SingleStatView.swift b/WordPress/WordPressStatsWidgets/Views/SingleStatView.swift index 4f843d6e7473..580d755823b2 100644 --- a/WordPress/WordPressStatsWidgets/Views/SingleStatView.swift +++ b/WordPress/WordPressStatsWidgets/Views/SingleStatView.swift @@ -15,6 +15,5 @@ struct SingleStatView: View { } Spacer() } - .flipsForRightToLeftLayoutDirection(true) } } From b4d262323246eb5aa24bed4a6426ce6ed9b696c4 Mon Sep 17 00:00:00 2001 From: Giorgio Ruscigno Date: Wed, 11 May 2022 11:33:57 -0500 Subject: [PATCH 2/2] Update release notes for PR #18567 --- RELEASE-NOTES.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index b32a686b6b66..c584cfc8256a 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -3,6 +3,7 @@ * [*] Site Settings: we fixed an issue that prevented the site title to be updated when it changed in Site Settings [#18543] * [*] Media Picker: Fixed an issue where the empty state view was being displayed incorrectly. [#18471] * [*] Site Creation: we fixed an issue where the navigation buttons were not scaling when large fonts were selected on the device [#18559] +* [*] Widgets: we fixed an issue where text appeared flipped in rtl languages [#18567] 19.8 -----