Various Fixes

This commit is contained in:
Ilya Laktyushin
2021-03-14 18:08:43 +04:00
parent e386a5e137
commit afdd1462da
25 changed files with 4249 additions and 4020 deletions

View File

@@ -591,7 +591,9 @@ final class ShareControllerNode: ViewControllerTracingNode, UIScrollViewDelegate
if self.fromForeignApp {
self.transitionToContentNode(ShareLoadingContainerNode(theme: self.presentationData.theme, forceNativeAppearance: true), fastOut: true)
} else {
self.animateOut(shared: true, completion: {
self.animateOut(shared: true, completion: { [weak self] in
self?
.completed?(peerIds)
})
}
let fromForeignApp = self.fromForeignApp
@@ -629,7 +631,6 @@ final class ShareControllerNode: ViewControllerTracingNode, UIScrollViewDelegate
}
} else {
strongSelf.dismiss?(true)
strongSelf.completed?(peerIds)
}
}
}, completed: {