Poll and sticker improvements

This commit is contained in:
Ali
2020-04-16 01:44:57 +04:00
parent 203acd8567
commit c8d87f8998
23 changed files with 549 additions and 233 deletions

View File

@@ -75,6 +75,7 @@ public final class StickerPackPreviewController: ViewController, StandalonePrese
super.init(navigationBarPresentationData: nil)
self.acceptsFocusWhenInOverlay = true
self.statusBar.statusBarStyle = .Ignore
self.stickerPackContents.set(loadedStickerPack(postbox: context.account.postbox, network: context.account.network, reference: stickerPack, forceActualized: true))
@@ -257,6 +258,8 @@ public final class StickerPackPreviewController: ViewController, StandalonePrese
} else {
return
}
self.acceptsFocusWhenInOverlay = false
self.requestUpdateParameters()
self.controllerNode.animateOut(completion: completion)
}