Add push notifications

This commit is contained in:
Christoph Hagen
2025-02-18 22:05:19 +01:00
parent de6f474aea
commit 66a40e52a0
9 changed files with 285 additions and 4 deletions

View File

@ -37,6 +37,16 @@ struct GeneralSettingsDetailView: View {
title: "Upload Folder",
text: $generalSettings.remotePathForUpload,
footer: "The path to the folder on the server where the files should be uploaded to")
OptionalStringPropertyView(
title: "Push Notification URL",
text: $generalSettings.urlForPushNotification,
footer: "The url to send push notifications to")
OptionalStringPropertyView(
title: "Push Notification Access Token",
text: $generalSettings.pushNotificationAccessToken,
footer: "The access token to use for sending push notifications")
}
.padding()
}