From b2fc179543aafd0afb4ef965dfd4447b5e69ab4e Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Tue, 17 Dec 2019 09:53:22 -0300 Subject: [PATCH] Use transient data sources for uninstalled blessed packs. --- .../Stickers/ManageStickersViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SignalMessaging/ViewControllers/Stickers/ManageStickersViewController.swift b/SignalMessaging/ViewControllers/Stickers/ManageStickersViewController.swift index 67ddac9c3b..d98137da64 100644 --- a/SignalMessaging/ViewControllers/Stickers/ManageStickersViewController.swift +++ b/SignalMessaging/ViewControllers/Stickers/ManageStickersViewController.swift @@ -125,7 +125,7 @@ public class ManageStickersViewController: OWSTableViewController { } } updateMapWithOldSources(&oldInstalledSources, installedStickerPackSources) - updateMapWithOldSources(&oldInstalledSources, availableBuiltInStickerPackSources) + updateMapWithOldSources(&oldTransientSources, availableBuiltInStickerPackSources) updateMapWithOldSources(&oldTransientSources, knownStickerPackSources) var installedStickerPacks = [StickerPack]() @@ -177,7 +177,7 @@ public class ManageStickersViewController: OWSTableViewController { $0.dateCreated > $1.dateCreated }.map { installedSource($0.info) } self.availableBuiltInStickerPackSources = availableBuiltInStickerPacks.sorted(by: sortAvailablePacks) - .map { installedSource($0.info) } + .map { transientSource($0.info) } self.knownStickerPackSources = availableKnownStickerPacks.sorted(by: sortKnownPacks) .map { transientSource($0.info) }