From b264bb7d6873f69fd9ba7d7df87dcfd9b6868007 Mon Sep 17 00:00:00 2001 From: Nora Trapp Date: Fri, 13 Dec 2019 10:46:28 -0800 Subject: [PATCH] Dismiss the sticker keyboard if all packs are uninstalled --- SignalMessaging/ViewControllers/Stickers/StickerKeyboard.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SignalMessaging/ViewControllers/Stickers/StickerKeyboard.swift b/SignalMessaging/ViewControllers/Stickers/StickerKeyboard.swift index 11cbd61c02..107cd3ab21 100644 --- a/SignalMessaging/ViewControllers/Stickers/StickerKeyboard.swift +++ b/SignalMessaging/ViewControllers/Stickers/StickerKeyboard.swift @@ -115,7 +115,7 @@ public class StickerKeyboard: CustomKeyboard { packsCollectionView.items = items guard stickerPacks.count > 0 else { - selectedStickerPack = nil + _ = resignFirstResponder() return }