Bug fixes

This commit is contained in:
Peter
2019-10-04 13:21:13 +04:00
parent f21bdec23f
commit aff840cb93
16 changed files with 2382 additions and 2302 deletions

View File

@@ -172,4 +172,11 @@ public class TermsOfServiceController: ViewController, StandalonePresentableCont
self.controllerNode.animateIn()
}
}
override public func dismiss(completion: (() -> Void)? = nil) {
self.controllerNode.animateOut(completion: { [weak self] in
self?.presentingViewController?.dismiss(animated: false, completion: nil)
completion?()
})
}
}