Skip to content

Commit a0b5036

Browse files
committed
Fixed issue with completion not being called when presenting
1 parent a88ee05 commit a0b5036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

InAppViewDebugger/InAppViewDebugger.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ import UIKit
8080
}
8181
let debuggerViewController = ViewDebuggerViewController(snapshot: snapshot, configuration: configuration ?? Configuration())
8282
let navigationController = UINavigationController(rootViewController: debuggerViewController)
83-
topViewController(rootViewController: rootViewController)?.present(navigationController, animated: true, completion: nil)
83+
topViewController(rootViewController: rootViewController)?.present(navigationController, animated: true, completion: completion)
8484
}
8585

8686
@available(*, unavailable)

0 commit comments

Comments
 (0)