Showing
2 changed files
with
7 additions
and
11 deletions
| @@ -35,12 +35,10 @@ class CustomWatchThemePreviewView | @@ -35,12 +35,10 @@ class CustomWatchThemePreviewView | ||
| 35 | padding: EdgeInsets.only(top: topPadding, bottom: 96), | 35 | padding: EdgeInsets.only(top: topPadding, bottom: 96), |
| 36 | child: Column( | 36 | child: Column( |
| 37 | children: [ | 37 | children: [ |
| 38 | - Obx(() { | ||
| 39 | - return WatchThemeHeader( | ||
| 40 | - title: controller.themeItem.title, | ||
| 41 | - themeImageUrl: controller.themeItem.energeticImage, | ||
| 42 | - ); | ||
| 43 | - }), | 38 | + WatchThemeHeader( |
| 39 | + title: controller.themeItem.title, | ||
| 40 | + themeImageUrl: controller.themeItem.energeticImage, | ||
| 41 | + ), | ||
| 44 | const SizedBox(height: 26), | 42 | const SizedBox(height: 26), |
| 45 | StatusPreviewCard(themeItem: controller.themeItem), | 43 | StatusPreviewCard(themeItem: controller.themeItem), |
| 46 | const SizedBox(height: 12), | 44 | const SizedBox(height: 12), |
| @@ -23,11 +23,9 @@ class WatchThemePreviewView extends GetView<WatchThemePreviewController> { | @@ -23,11 +23,9 @@ class WatchThemePreviewView extends GetView<WatchThemePreviewController> { | ||
| 23 | padding: EdgeInsets.only(top: topPadding, bottom: 96), | 23 | padding: EdgeInsets.only(top: topPadding, bottom: 96), |
| 24 | child: Column( | 24 | child: Column( |
| 25 | children: [ | 25 | children: [ |
| 26 | - Obx(() { | ||
| 27 | - return WatchThemeHeader( | ||
| 28 | - themeImageUrl: controller.themeItem.energeticImage, | ||
| 29 | - ); | ||
| 30 | - }), | 26 | + WatchThemeHeader( |
| 27 | + themeImageUrl: controller.themeItem.energeticImage, | ||
| 28 | + ), | ||
| 31 | const SizedBox(height: 26), | 29 | const SizedBox(height: 26), |
| 32 | StatusPreviewCard(themeItem: controller.themeItem), | 30 | StatusPreviewCard(themeItem: controller.themeItem), |
| 33 | const SizedBox(height: 12), | 31 | const SizedBox(height: 12), |
-
Please register or login to post a comment