Add Twitter and Reddit button actions

This commit is contained in:
Rizwan Mohamed Ibrahim 2020-07-27 13:43:07 +05:30
parent 2987c9742e
commit 2528d1e9d7
No known key found for this signature in database
GPG Key ID: D5BEE468D448BCC5
1 changed files with 2 additions and 2 deletions

View File

@ -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)