mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-15 22:11:06 +00:00
Add direct access to push notifications settings in notifications tab
This commit is contained in:
parent
5a2478c791
commit
2fdaed7df4
1 changed files with 7 additions and 0 deletions
|
@ -31,6 +31,13 @@ struct NotificationsTab: View {
|
|||
.withAppRouter()
|
||||
.withSheetDestinations(sheetDestinations: $routerPath.presentedSheet)
|
||||
.toolbar {
|
||||
ToolbarItem(placement: .topBarTrailing) {
|
||||
Button {
|
||||
routerPath.presentedSheet = .accountPushNotficationsSettings
|
||||
} label: {
|
||||
Image(systemName: "bell.badge")
|
||||
}
|
||||
}
|
||||
if !isSecondaryColumn {
|
||||
statusEditorToolbarItem(routerPath: routerPath,
|
||||
visibility: userPreferences.postVisibility)
|
||||
|
|
Loading…
Reference in a new issue