Dismiss the sticker keyboard if all packs are uninstalled

This commit is contained in:
Nora Trapp 2019-12-13 10:46:28 -08:00
parent 35cc7ff346
commit b264bb7d68

View File

@ -115,7 +115,7 @@ public class StickerKeyboard: CustomKeyboard {
packsCollectionView.items = items
guard stickerPacks.count > 0 else {
selectedStickerPack = nil
_ = resignFirstResponder()
return
}