mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Replace completion handlers with async/await. (#407)
This commit is contained in:
@@ -36,7 +36,7 @@ protocol NotificationManagerProtocol {
|
||||
var delegate: NotificationManagerDelegate? { get set }
|
||||
|
||||
func start()
|
||||
func register(with deviceToken: Data, completion: ((Bool) -> Void)?)
|
||||
func register(with deviceToken: Data) async -> Bool
|
||||
func registrationFailed(with error: Error)
|
||||
func showLocalNotification(with title: String, subtitle: String?)
|
||||
func showLocalNotification(with title: String, subtitle: String?) async
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user