mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
FIX SCROLLBAR SETTING AGAIN
This commit is contained in:
1 file changed
+3
@@ -106,6 +106,9 @@ class StickerBrowserViewController: MSStickerBrowserViewController {
|
|||||||
guard let subview = stickerBrowserView.subviews.first,
|
guard let subview = stickerBrowserView.subviews.first,
|
||||||
let collectionView = subview as? UICollectionView else { return }
|
let collectionView = subview as? UICollectionView else { return }
|
||||||
collectionView.setContentOffset(.zero, animated: true)
|
collectionView.setContentOffset(.zero, animated: true)
|
||||||
|
DispatchQueue.main.async {
|
||||||
|
self.setScrollbars()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func setScrollbars() {
|
func setScrollbars() {
|
||||||
|
|||||||