blob: 7d16791fc72bdc2eed11ccdc741bf8bd14b9799f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
//
// InAppNotificationDescriptor.swift
// MullvadVPN
//
// Created by pronebird on 09/12/2022.
// Copyright © 2022 Mullvad VPN AB. All rights reserved.
//
import Foundation
/// Struct describing in-app notification.
struct InAppNotificationDescriptor: Equatable {
/// Notification identifier.
var identifier: String
/// Notification banner style.
var style: NotificationBannerStyle
/// Notification title.
var title: String
/// Notification body.
var body: String
}
enum NotificationBannerStyle {
case success, warning, error
}
|