Skip to content

Commit

Permalink
Fix n apps connected button (#1921)
Browse files Browse the repository at this point in the history
  • Loading branch information
osdnk committed Apr 2, 2021
1 parent 73b1426 commit 210ccc1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ios/DiscoverSheet/UIViewController+PanModalPresenter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,6 @@ class DiscoverSheetViewController: UIViewController, PanModalPresentable {
if !(pview is PossiblyTouchesPassableUIView && !hacked) {
let oldClass: AnyClass = type(of: pview)
object_setClass(pview, PossiblyTouchesPassableUIView.self)
DispatchQueue.main.asyncAfter(deadline: .now() + 0.2) {
if (pview is PossiblyTouchesPassableUIView) {
object_setClass(pview, oldClass)
}
}
hacked = true;
(pview as! PossiblyTouchesPassableUIView).config = self.config
(pview as! PossiblyTouchesPassableUIView).topLayoutGuideLength = self.topLayoutGuide.length
Expand Down

0 comments on commit 210ccc1

Please sign in to comment.