mirror of
https://github.com/Matte23/circolapp.git
synced 2025-12-06 07:29:10 +00:00
Open circular when user taps on a notification
This commit is contained in:
@@ -91,6 +91,8 @@ extension AppDelegate : UNUserNotificationCenterDelegate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let repository = iOSRepository.getCircularRepository()
|
let repository = iOSRepository.getCircularRepository()
|
||||||
|
let url = userInfo["url"] as! String
|
||||||
|
URLUtils.openUrl(url: url)
|
||||||
iOSRepository.updateCirculars(circularRepository: repository, circularUpdated: {})
|
iOSRepository.updateCirculars(circularRepository: repository, circularUpdated: {})
|
||||||
|
|
||||||
completionHandler()
|
completionHandler()
|
||||||
|
|||||||
Reference in New Issue
Block a user