mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Tune forwarding toast animation
This commit is contained in:
@@ -591,10 +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: { [weak self] in
|
||||
self?
|
||||
.completed?(peerIds)
|
||||
self.animateOut(shared: true, completion: {
|
||||
})
|
||||
self.completed?(peerIds)
|
||||
}
|
||||
let fromForeignApp = self.fromForeignApp
|
||||
self.shareDisposable.set((signal
|
||||
@@ -605,7 +604,7 @@ final class ShareControllerNode: ViewControllerTracingNode, UIScrollViewDelegate
|
||||
|
||||
if case .done = status, !fromForeignApp {
|
||||
strongSelf.dismiss?(true)
|
||||
strongSelf.completed?(peerIds)
|
||||
return
|
||||
}
|
||||
|
||||
guard let contentNode = strongSelf.contentNode as? ShareLoadingContainerNode else {
|
||||
|
||||
Reference in New Issue
Block a user