forked from organicmaps/organicmaps-tmp
[iOS] Fixed styles on deeplinks from richmedia
https://jira.mail.ru/browse/MAPSME-13460
This commit is contained in:
parent
e85a03407c
commit
906ae3b05c
3 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ fileprivate struct AssociatedKeys {
|
|||
|
||||
@objc extension UIView {
|
||||
@objc func sw_didMoveToWindow() {
|
||||
guard UIApplication.shared.keyWindow === window else {
|
||||
guard MapsAppDelegate.theApp().window === window else {
|
||||
sw_didMoveToWindow();
|
||||
return
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ extension UISearchBar {
|
|||
}
|
||||
|
||||
@objc override func sw_didMoveToWindow() {
|
||||
guard UIApplication.shared.keyWindow === window else {
|
||||
guard MapsAppDelegate.theApp().window === window else {
|
||||
sw_didMoveToWindow();
|
||||
return
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ extension UITextField {
|
|||
}
|
||||
|
||||
@objc override func sw_didMoveToWindow() {
|
||||
guard UIApplication.shared.keyWindow === window else {
|
||||
guard MapsAppDelegate.theApp().window === window else {
|
||||
sw_didMoveToWindow();
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue