Skip to content

Commit

Permalink
Add supports for notifications filter API
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimillian committed Mar 26, 2024
1 parent bb56047 commit 5c32c24
Show file tree
Hide file tree
Showing 19 changed files with 1,260 additions and 39 deletions.
7 changes: 7 additions & 0 deletions IceCubesApp/App/AppRegistry.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import Models
import StatusKit
import SwiftUI
import Timeline
import Notifications

@MainActor
extension View {
Expand Down Expand Up @@ -63,6 +64,12 @@ extension View {
TrendingLinksListView(cards: cards)
case let .tagsList(tags):
TagsListView(tags: tags)
case .notificationsRequests:
NotificationsRequestsListView()
case let .notificationForAccount(accountId):
NotificationsListView(lockedType: nil ,
lockedAccountId: accountId,
scrollToTopSignal: .constant(0))
}
}
}
Expand Down
8 changes: 1 addition & 7 deletions IceCubesApp/App/Tabs/NavigationSheet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,7 @@ struct NavigationSheet<Content: View>: View {
NavigationStack {
content()
.toolbar {
ToolbarItem(placement: .navigationBarLeading) {
Button {
dismiss()
} label: {
Image(systemName: "xmark.circle")
}
}
CloseToolbarItem()
}
}
}
Expand Down
Loading

0 comments on commit 5c32c24

Please sign in to comment.