From c9d8d85ef53c5b9410019dbc06f8d742ea7ef61e Mon Sep 17 00:00:00 2001 From: Duong Thai Date: Mon, 11 Mar 2024 17:58:50 +0700 Subject: [PATCH] add `AppAccountsSelectorView` to navigation toolbar --- IceCubesApp/App/Tabs/RSSTab.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/IceCubesApp/App/Tabs/RSSTab.swift b/IceCubesApp/App/Tabs/RSSTab.swift index 46787470..bfcb6f14 100644 --- a/IceCubesApp/App/Tabs/RSSTab.swift +++ b/IceCubesApp/App/Tabs/RSSTab.swift @@ -12,6 +12,7 @@ import DesignSystem import RSS import Env import Network +import AppAccount @MainActor public struct RSSTab: View { @@ -40,6 +41,10 @@ public struct RSSTab: View { .withSheetDestinations(sheetDestinations: $routerPath.presentedSheet) .toolbar { if client.isAuth { + ToolbarItem(placement: .navigationBarLeading) { + AppAccountsSelectorView(routerPath: routerPath) + } + ToolbarItem(placement: .navigationBarTrailing) { Button { Task { @MainActor in