Commit d60736fd by Daniel Dahan

issue-456: Updated submitted code

parent b9c10301
......@@ -632,6 +632,6 @@ public class TextField : UITextField {
/// Prepares the textAlignment.
private func prepareTextAlignment() {
textAlignment = UIApplication.sharedApplication().userInterfaceLayoutDirection == .RightToLeft ? .Right : .Left
textAlignment = .RightToLeft == UIApplication.sharedApplication().userInterfaceLayoutDirection ? .Right : .Left
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment