Let notification open domain

This commit is contained in:
relikd
2020-07-27 19:06:44 +02:00
parent 01523b250f
commit e398ac8bcd
5 changed files with 21 additions and 7 deletions

View File

@@ -108,9 +108,8 @@ extension TBCMain: UNUserNotificationCenterDelegate {
case PushNotification.Identifier.CantStopMeNowReminder.rawValue:
(openTab(2) as! TVCSettings).openRestartVPNSettings()
//case PushNotification.Identifier.RestInPeaceTombstoneReminder // only badge
default: // domain notification
// TODO: open specific domain?
openTab(0) // open Requests tab
case let x: // domain notification
(openTab(0) as! TVCDomains).pushOpen(domain: x) // open requests tab
}
completionHandler()
}