mirror of
https://github.com/Matte23/circolapp.git
synced 2025-12-05 23:19: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 url = userInfo["url"] as! String
|
||||
URLUtils.openUrl(url: url)
|
||||
iOSRepository.updateCirculars(circularRepository: repository, circularUpdated: {})
|
||||
|
||||
completionHandler()
|
||||
|
||||
Reference in New Issue
Block a user