Skip to content

Commit a5784c8

Browse files
committed
Пофиксил обновление коллекции
1 parent 504634c commit a5784c8

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

BlackMagic/Controllers/BoosterOpenedViewController.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,9 @@ final class BoosterOpenedViewController: UIViewController {
234234
// Сохраняем оставшиеся карты в коллекцию пользователя
235235
saveRemainingCardsToCollection()
236236

237+
// Отправляем уведомление для обновления коллекции карт
238+
NotificationCenter.default.post(name: .didOpenBooster, object: nil)
239+
237240
// Удаляем один бустер этого типа из пользовательских данных
238241
removeOneOpenedBoosterFromUserData()
239242

0 commit comments

Comments
 (0)