mirror of
https://github.com/Finb/Bark.git
synced 2025-12-08 21:36:01 +00:00
添加 action 参数, 传 none时点击推送时不执行任何操作
This commit is contained in:
parent
15f08940b4
commit
521ee65239
@ -163,6 +163,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
|
||||
}
|
||||
return nil
|
||||
}()
|
||||
|
||||
if let action = userInfo["action"] as? String, action == "none" {
|
||||
return
|
||||
}
|
||||
|
||||
// URL 直接打开
|
||||
if let url = url {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user