mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-27 12:59:17 +01:00
Add direct access to push notifications settings in notifications tab
This commit is contained in:
parent
5a2478c791
commit
2fdaed7df4
@ -31,6 +31,13 @@ struct NotificationsTab: View {
|
|||||||
.withAppRouter()
|
.withAppRouter()
|
||||||
.withSheetDestinations(sheetDestinations: $routerPath.presentedSheet)
|
.withSheetDestinations(sheetDestinations: $routerPath.presentedSheet)
|
||||||
.toolbar {
|
.toolbar {
|
||||||
|
ToolbarItem(placement: .topBarTrailing) {
|
||||||
|
Button {
|
||||||
|
routerPath.presentedSheet = .accountPushNotficationsSettings
|
||||||
|
} label: {
|
||||||
|
Image(systemName: "bell.badge")
|
||||||
|
}
|
||||||
|
}
|
||||||
if !isSecondaryColumn {
|
if !isSecondaryColumn {
|
||||||
statusEditorToolbarItem(routerPath: routerPath,
|
statusEditorToolbarItem(routerPath: routerPath,
|
||||||
visibility: userPreferences.postVisibility)
|
visibility: userPreferences.postVisibility)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user