opt.: watch app

This commit is contained in:
lollipopkit
2023-09-16 21:43:31 +08:00
parent f51934396f
commit 3c3ca33cda
10 changed files with 83 additions and 41 deletions

View File

@@ -31,7 +31,6 @@ class PhoneConnMgr: NSObject, WCSessionDelegate, ObservableObject {
session?.activate()
ctx = Store.getCtx()
print("init", ctx)
}
func updateUrls(_ val: [String: Any]) {
@@ -47,7 +46,6 @@ class PhoneConnMgr: NSObject, WCSessionDelegate, ObservableObject {
// implement session:didReceiveApplicationContext:
func session(_ session: WCSession, didReceiveApplicationContext applicationContext: [String : Any]) {
ctx = applicationContext
print("update", ctx)
}
}