Created
February 16, 2021 13:23
-
-
Save maor365scores/10b2de9c047ffa26774d50d4fde77078 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let isRTL: Bool = AppManager.sharedInstance()?.isCurrentUserLanguageRTL() ?? false | |
if isRTL | |
{ | |
self.outcomeImageView.leftAnchor.constraint(equalTo: backgroundView.leftAnchor, constant: -35).isActive = true | |
} | |
else | |
{ | |
self.outcomeImageView.rightAnchor.constraint(equalTo: backgroundView.rightAnchor, constant: -35).isActive = true | |
} | |
self.outcomeImageView.bottomAnchor.constraint(equalTo: backgroundView.bottomAnchor, constant: -22).isActive = true | |
self.outcomeImageView.isHidden = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment