|
...
|
...
|
@@ -185,14 +185,6 @@ final class PlatformHostApiImpl: PlatformHostApi { |
|
|
|
func refreshWatchAppAndWidgets() throws {
|
|
|
|
_ = WatchConnectivityService.shared.sendCommandMessage(AppGroupMessageKey.reloadAll)
|
|
|
|
}
|
|
|
|
// 设置/移除 好友显示到表盘
|
|
|
|
func updateWatchOtherUserInfo(otherInfo: WatchAppOtherInfo?) throws {
|
|
|
|
do{
|
|
|
|
try refreshWatchAppAndWidgets()
|
|
|
|
}catch{
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func performRestore(completion: @escaping (Result<Bool, any Error>) -> Void) {
|
|
|
|
Task{
|
...
|
...
|
|