Skip to content

Commit

Permalink
fix: flip image to support rtl issue
Browse files Browse the repository at this point in the history
  • Loading branch information
RawanMatar89 committed Jul 11, 2024
1 parent e069714 commit d9f1701
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Course/Course/Presentation/Dates/CourseDatesView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,9 @@ struct CompletedBlocks: View {
Spacer()
if block.canShowLink && !block.firstComponentBlockID.isEmpty {
Image(systemName: "chevron.right")
.flipsForRightToLeftLayoutDirection(true)
.resizable()
.flipsForRightToLeftLayoutDirection(true)

.scaledToFit()
.frame(width: 6.55, height: 11.15)
.labelStyle(.iconOnly)
Expand Down Expand Up @@ -326,8 +327,8 @@ struct BlockStatusView: View {
Spacer()
if block.canShowLink && !block.firstComponentBlockID.isEmpty {
Image(systemName: "chevron.right")
.flipsForRightToLeftLayoutDirection(true)
.resizable()
.flipsForRightToLeftLayoutDirection(true)
.scaledToFit()
.frame(width: 6.55, height: 11.15)
.labelStyle(.iconOnly)
Expand Down
2 changes: 1 addition & 1 deletion Course/Course/Presentation/Handouts/HandoutsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ struct HandoutsItemCell: View {
}
Spacer()
Image(systemName: "chevron.right")
.flipsForRightToLeftLayoutDirection(true)
.resizable()
.flipsForRightToLeftLayoutDirection(true)
.frame(width: 7, height: 12)
.foregroundColor(Theme.Colors.accentColor)
}
Expand Down

0 comments on commit d9f1701

Please sign in to comment.