Skip to content

Commit

Permalink
Fix highlighting in right-to-left languages
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamede1945 committed Sep 13, 2024
1 parent 1a35742 commit 568d197
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions UI/NoorUI/Features/Quran/ImageDecorationsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ struct ImageDecorationsView: View {
suraHeaders
ayahNumbers
}
.environment(\.layoutDirection, .leftToRight)
}
.onChangeWithInitial(of: imageSize) { sizeInfo.imageSize = $0 }
.onSizeChange { sizeInfo.viewSize = $0 }
Expand Down

0 comments on commit 568d197

Please sign in to comment.