Fix interactive dismissal for reply screen
This commit is contained in:
parent
d3aa2eff5a
commit
b478f6e982
|
@ -82,12 +82,16 @@ extension TuskerNavigationDelegate where Self: UIViewController {
|
|||
}
|
||||
|
||||
func compose() {
|
||||
let vc: UINavigationController = UINavigationController(rootViewController: ComposeViewController())
|
||||
let compose = ComposeViewController()
|
||||
let vc = UINavigationController(rootViewController: compose)
|
||||
vc.presentationController?.delegate = compose
|
||||
present(vc, animated: true)
|
||||
}
|
||||
|
||||
func reply(to statusID: String) {
|
||||
let vc = UINavigationController(rootViewController: ComposeViewController(inReplyTo: statusID))
|
||||
let compose = ComposeViewController(inReplyTo: statusID)
|
||||
let vc = UINavigationController(rootViewController: compose)
|
||||
vc.presentationController?.delegate = compose
|
||||
present(vc, animated: true)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue