Fix crash

This commit is contained in:
Niels Andriesse 2020-01-21 14:02:53 +11:00
parent 32b772bbee
commit a40c21881e
1 changed files with 3 additions and 1 deletions

View File

@ -110,7 +110,9 @@ final class LandingVC : UIViewController, LinkDeviceVCDelegate, DeviceLinkingMod
override func viewDidDisappear(_ animated: Bool) {
super.viewDidAppear(animated)
fakeChatView.contentOffset = fakeChatViewContentOffset
if let fakeChatViewContentOffset = fakeChatViewContentOffset {
fakeChatView.contentOffset = fakeChatViewContentOffset
}
}
// MARK: Interaction