mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-22 16:21:00 +00:00
13 lines
448 B
Swift
13 lines
448 B
Swift
// Copyright © 2020 Metabolist. All rights reserved.
|
|
|
|
import Combine
|
|
import ServiceLayer
|
|
|
|
public extension UserNotificationClient {
|
|
static let mock = UserNotificationClient(
|
|
getNotificationSettings: { _ in },
|
|
requestAuthorization: { _, _ in },
|
|
add: { _, completion in completion?(nil) },
|
|
removeDeliveredNotifications: { _ in },
|
|
delegateEvents: Empty(completeImmediately: false).eraseToAnyPublisher())
|
|
}
|