mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 20:54:51 +00:00
allow userinteraction, fix "idk" error
This commit is contained in:
1 file changed
+3
-2
@@ -83,9 +83,10 @@ class StickerBrowserViewController: MSStickerBrowserViewController {
|
||||
}
|
||||
|
||||
@objc func reload() {
|
||||
UIView.transition(with: labelStack, duration: 0.25, options: .transitionCrossDissolve) {
|
||||
UIView.transition(with: labelStack, duration: 0.25, options: [.transitionCrossDissolve, .allowUserInteraction]) {
|
||||
self.labelTitle.text = self.pack?.name ?? "All Downloaded"
|
||||
self.labelSubTitle.text = self.pack?.downloadedDescription(self.emojiHoarder) ?? "idk"
|
||||
self.labelSubTitle.text = self.pack?.downloadedDescription(self.emojiHoarder) ??
|
||||
"\(self.emojiHoarder.downloadedStickers.count) emoji\(self.emojiHoarder.downloadedStickers.count.plural)"
|
||||
|
||||
self.view.layoutIfNeeded()
|
||||
}
|
||||
|
||||