diff --git a/brain-marks/ContentView.swift b/brain-marks/ContentView.swift index 012d8cf..0e5a42c 100644 --- a/brain-marks/ContentView.swift +++ b/brain-marks/ContentView.swift @@ -11,27 +11,11 @@ struct ContentView: View { @State private var showAddSheet = false var body: some View { - NavigationView { VStack { CategoryList(categories: [ Category(id: 0, name: "SwiftUI", numberOfTweets: 3, imageName: "swift"), Category(id: 1, name: "BigBrainHacks", numberOfTweets: 5, imageName: "laptopcomputer") ]) -// Button("hey",action: { -// get(url: "https://twitter.com/mikaela__caron/status/1380956548042682370?s=21") -// }) - }.navigationBarTitle("🧠",displayMode: .inline) - .navigationBarItems(trailing: - Button { - self.showAddSheet = true - } label: { - Image(systemName: "plus.circle") - .font(.system(size: 30)) - .foregroundColor(.black) - } - ) - }.sheet(isPresented:$showAddSheet) { - AddURLView() } } }