Add notification sync support

This commit is contained in:
Leon Böttger authored and Leon Böttger committed 2026-03-08 13:49:07 +01:00
1 parent a352e9ed1c
commit 48eb5be4a5
8 files changed
+1014 -9

No files matched your search

+7
View File
@@ -139,6 +139,7 @@ public struct TransferMetadata {
case text
case url
case wifiPassword
case notificationSync
}
private func getSummary() -> String {
@@ -196,6 +197,12 @@ public struct TransferMetadata {
case .wifiPassword:
return "DeviceSendingWifiPassword".localized(with: deviceName)
case .notificationSync:
if let textDescription, !textDescription.isEmpty {
return textDescription
}
return "NotificationSyncConsentPromptFromDevice".localized(with: deviceName)
}
}