Skip to content

Commit 56c2b4f

Browse files
chore: fixed issues with accessing the "fixDirectionForiOS26" functions (God blesses Mojtaba to save me from running into the walls and ceilings).
1 parent 9fed986 commit 56c2b4f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/PersianJustify/Extensions/UILabel.fixDirectionForiOS26.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
#if canImport(UIKit)
99
import UIKit
10-
extension UILabel {
10+
public extension UILabel {
1111

1212
@available(iOS 26.0, *)
13-
func fixDirectionForiOS26() {
13+
public func fixDirectionForiOS26() {
1414
if let traitOverrides = value(forKey: "traitOverrides") as? NSObject {
1515
if traitOverrides.responds(to: NSSelectorFromString("setResolvesNaturalAlignmentWithBaseWritingDirection:")) {
1616
traitOverrides.setValue(true, forKey: "resolvesNaturalAlignmentWithBaseWritingDirection")

0 commit comments

Comments
 (0)