Commit fe5ada11696490747b36d8eb316a6bb4b8b4d7ba

Authored by 权海
1 parent 65e17399

feat(ui):没安装app也弹出没有watch的弹窗

... ... @@ -145,7 +145,7 @@ class CustomWatchThemePreviewController extends GetxController {
} catch (_) {
device = null;
}
if (device == null) {
if (device?.isConnected != true || device?.isWatchAppInstalled != true) {
await Get.dialog<void>(
const WatchThemeNoWatchDialog(),
barrierColor: const Color(0xB3000000),
... ... @@ -167,7 +167,7 @@ class CustomWatchThemePreviewController extends GetxController {
} catch (_) {
device = null;
}
if (device == null) {
if (device?.isConnected != true || device?.isWatchAppInstalled != true) {
await Get.dialog<void>(
const WatchThemeNoWatchDialog(),
barrierColor: const Color(0xB3000000),
... ...
... ... @@ -116,7 +116,7 @@ class WatchThemePreviewController extends GetxController {
} catch (_) {
device = null;
}
if (device == null) {
if (device?.isConnected != true || device?.isWatchAppInstalled != true) {
await Get.dialog<void>(
const WatchThemeNoWatchDialog(),
barrierColor: const Color(0xB3000000),
... ... @@ -139,7 +139,7 @@ class WatchThemePreviewController extends GetxController {
} catch (_) {
device = null;
}
if (device == null) {
if (device?.isConnected != true || device?.isWatchAppInstalled != true) {
await Get.dialog<void>(
const WatchThemeNoWatchDialog(),
barrierColor: const Color(0xB3000000),
... ...