From 714408f776158cc8ebd222bf5ff5f095e5856210 Mon Sep 17 00:00:00 2001 From: Brandon T Date: Tue, 8 Aug 2023 15:11:34 -0400 Subject: [PATCH] Fix Tabs not updating when opening bulk --- .../Frontend/Browser/Tabs/TabBar/TabsBarViewController.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Sources/Brave/Frontend/Browser/Tabs/TabBar/TabsBarViewController.swift b/Sources/Brave/Frontend/Browser/Tabs/TabBar/TabsBarViewController.swift index 6264b8c2fc6..b9f90ba3bb5 100644 --- a/Sources/Brave/Frontend/Browser/Tabs/TabBar/TabsBarViewController.swift +++ b/Sources/Brave/Frontend/Browser/Tabs/TabBar/TabsBarViewController.swift @@ -507,4 +507,9 @@ extension TabsBarViewController: TabManagerDelegate { func tabManagerDidRemoveAllTabs(_ tabManager: TabManager, toast: ButtonToast?) { updateData() } + + func tabManagerDidAddTabs(_ tabManager: TabManager) { + assert(Thread.current.isMainThread) + updateData() + } }