|
...
|
...
|
@@ -68,7 +68,8 @@ class TodayNotificationAuthorizationBanner extends StatelessWidget { |
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return Obx(() {
|
|
|
|
if (!controller.showHrvAdBanner.value) return const SizedBox.shrink();
|
|
|
|
if (!controller.showNotificationAuthorizationBanner.value)
|
|
|
|
return const SizedBox.shrink();
|
|
|
|
|
|
|
|
return GestureDetector(
|
|
|
|
onTap: () async {
|
|
...
|
...
|
@@ -95,7 +96,7 @@ class TodayNotificationAuthorizationBanner extends StatelessWidget { |
|
|
|
),
|
|
|
|
),
|
|
|
|
leftImagePath: 'assets/images/today/ic_banner_notify_permission.png',
|
|
|
|
onClose: controller.dismissHrvAdBanner,
|
|
|
|
onClose: controller.dismissNotificationAuthorizationBanner,
|
|
|
|
showMargin: showMargin,
|
|
|
|
),
|
|
|
|
);
|
...
|
...
|
|