|
...
|
...
|
@@ -189,7 +189,20 @@ class CustomWatchThemePreviewController extends GetxController { |
|
|
|
await Get.bottomSheet<void>(
|
|
|
|
WatchThemeSyncDialog(
|
|
|
|
themeImageUrl: themeItem.energeticImage,
|
|
|
|
onSync: applyAndSyncWatchFace,
|
|
|
|
onSync: () async {
|
|
|
|
if (device?.isPaired != true ||
|
|
|
|
device?.isWatchAppInstalled != true ||
|
|
|
|
device?.isReachable != true) {
|
|
|
|
Get.back();
|
|
|
|
await Get.dialog<void>(
|
|
|
|
const WatchThemeNoWatchDialog(),
|
|
|
|
barrierColor: const Color(0xB3000000),
|
|
|
|
);
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
return await applyAndSyncWatchFace();
|
|
|
|
},
|
|
|
|
),
|
|
|
|
backgroundColor: Colors.transparent,
|
|
|
|
barrierColor: const Color(0xB3000000),
|
...
|
...
|
|