[iOS] Fixed styles on deeplinks from richmedia

https://jira.mail.ru/browse/MAPSME-13460
This commit is contained in:
Alexander Boriskov 2020-09-29 18:03:14 +03:00 committed by mpimenov
parent e85a03407c
commit 906ae3b05c
3 changed files with 3 additions and 3 deletions

View file

@ -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
}

View file

@ -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
}

View file

@ -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
}