From 2528d1e9d7e9648a293d48074c6ea4fcc201ac07 Mon Sep 17 00:00:00 2001 From: Rizwan Mohamed Ibrahim Date: Mon, 27 Jul 2020 13:43:07 +0530 Subject: [PATCH] Add Twitter and Reddit button actions --- Multiplatform/Shared/Sidebar/SidebarToolbarModifier.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Multiplatform/Shared/Sidebar/SidebarToolbarModifier.swift b/Multiplatform/Shared/Sidebar/SidebarToolbarModifier.swift index 2082b2678..9d604c2a5 100644 --- a/Multiplatform/Shared/Sidebar/SidebarToolbarModifier.swift +++ b/Multiplatform/Shared/Sidebar/SidebarToolbarModifier.swift @@ -70,8 +70,8 @@ struct SidebarToolbarModifier: ViewModifier { ToolbarItem(placement: .bottomBar, content: { Menu(content: { Button { viewModel.sheetToShow = .web } label: { Text("Add Web Feed") } - Button { /* TODO:- Add Twitter Feed */ } label: { Text("Add Twitter Feed") } - Button { /* TODO:- Add Reddit Feed */ } label: { Text("Add Reddit Feed") } + Button { viewModel.sheetToShow = .twitter } label: { Text("Add Twitter Feed") } + Button { viewModel.sheetToShow = .reddit } label: { Text("Add Reddit Feed") } Button { viewModel.sheetToShow = .folder } label: { Text("Add Folder") } }, label: { AppAssets.addMenuImage.font(.title3)