Skip to content

Commit

Permalink
Fix format since formatter won't
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon-T committed Oct 25, 2024
1 parent b1005f8 commit 941310a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ios/brave-ios/Sources/BraveShared/URLElidedTextView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ public struct URLElidedText: View {
}

public var body: some View {
// LRM character prevents Text elements from rendering RTL special characters
Text(
AttributedString(
"\u{200E}\(text)", // LRM character prevents Text elements from rendering RTL special characters
"\u{200E}\(text)",
attributes: .init([.font: font ?? .body, .paragraphStyle: paragraphStyle])
)
)
Expand Down

0 comments on commit 941310a

Please sign in to comment.