summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadVPN/Notifications/InAppNotificationDescriptor.swift
diff options
context:
space:
mode:
authorJon Petersson <jon.petersson@mullvad.net>2025-01-22 16:39:21 +0100
committerJon Petersson <jon.petersson@mullvad.net>2025-01-22 16:39:21 +0100
commita1b47c23a9532abc0f51fc94de481b0528afb9fb (patch)
tree8c93aed3d2fc5540e963bc6b02dbdd8549268429 /ios/MullvadVPN/Notifications/InAppNotificationDescriptor.swift
parent060839d420a9cf222b49fe4932730a98fd5b1434 (diff)
parent5f9315b46dc7a364bc20d40420c2e0feb34a2d6c (diff)
downloadmullvadvpn-a1b47c23a9532abc0f51fc94de481b0528afb9fb.tar.xz
mullvadvpn-a1b47c23a9532abc0f51fc94de481b0528afb9fb.zip
Merge branch 'add-in-app-notification-banner-for-changelog-ios-989'
Diffstat (limited to 'ios/MullvadVPN/Notifications/InAppNotificationDescriptor.swift')
-rw-r--r--ios/MullvadVPN/Notifications/InAppNotificationDescriptor.swift5
1 files changed, 4 insertions, 1 deletions
diff --git a/ios/MullvadVPN/Notifications/InAppNotificationDescriptor.swift b/ios/MullvadVPN/Notifications/InAppNotificationDescriptor.swift
index 7ed81c1e77..5839b62c02 100644
--- a/ios/MullvadVPN/Notifications/InAppNotificationDescriptor.swift
+++ b/ios/MullvadVPN/Notifications/InAppNotificationDescriptor.swift
@@ -24,7 +24,10 @@ struct InAppNotificationDescriptor: Equatable {
var body: NSAttributedString
/// Notification action.
- var action: InAppNotificationAction?
+ var button: InAppNotificationAction?
+
+ /// Notification tap action (optional).
+ var tapAction: InAppNotificationAction?
}
/// Type describing a specific in-app notification action.