diff --git a/damus/ContentView.swift b/damus/ContentView.swift index 4fd0a02..6037722 100644 --- a/damus/ContentView.swift +++ b/damus/ContentView.swift @@ -71,12 +71,7 @@ struct ContentView: View { var NotificationTab: some View { ZStack(alignment: .center) { - Button(action: {switch_timeline(.notifications)}) { - Label("", systemImage: selected_timeline == .notifications ? "bell.fill" : "bell") - .contentShape(Rectangle()) - .frame(maxWidth: .infinity, minHeight: 30.0) - } - .foregroundColor(selected_timeline != .notifications ? .gray : .primary) + TabButton(timeline: .notifications, img: "bell") if new_notifications { Circle()