Commit 08d5fdff7c3c115ffba31990f0b475d77b8651b2

Authored by 权海
1 parent de22e9be

feat(ui):添加表盘/应用主题不再校验和watch app 的数据连接

... ... @@ -151,9 +151,7 @@ class CustomWatchThemePreviewController extends GetxController {
device = null;
watchConnectErrorDesc.value = e.toString();
}
if (device?.isPaired != true ||
device?.isReachable != true ||
device?.isWatchAppInstalled != true) {
if (device?.isPaired != true) {
await Get.dialog<void>(
const WatchThemeNoWatchDialog(),
barrierColor: const Color(0xB3000000),
... ... @@ -177,9 +175,7 @@ class CustomWatchThemePreviewController extends GetxController {
device = null;
watchConnectErrorDesc.value = e.toString();
}
if (device?.isPaired != true ||
device?.isReachable != true ||
device?.isWatchAppInstalled != true) {
if (device?.isPaired != true) {
await Get.dialog<void>(
const WatchThemeNoWatchDialog(),
barrierColor: const Color(0xB3000000),
... ...
... ... @@ -122,9 +122,7 @@ class WatchThemePreviewController extends GetxController {
device = null;
watchConnectErrorDesc.value = e.toString();
}
if (device?.isPaired != true ||
device?.isReachable != true ||
device?.isWatchAppInstalled != true) {
if (device?.isPaired != true) {
await Get.dialog<void>(
const WatchThemeNoWatchDialog(),
barrierColor: const Color(0xB3000000),
... ... @@ -149,9 +147,7 @@ class WatchThemePreviewController extends GetxController {
device = null;
watchConnectErrorDesc.value = e.toString();
}
if (device?.isPaired != true ||
device?.isReachable != true ||
device?.isWatchAppInstalled != true) {
if (device?.isPaired != true) {
await Get.dialog<void>(
const WatchThemeNoWatchDialog(),
barrierColor: const Color(0xB3000000),
... ...