Commit 223c15931e43ee0613ce0a4ece9ab5ea05f8b42d

Authored by 常守达
1 parent dfe76e0d

fix(today):通知banner顺序

... ... @@ -267,22 +267,23 @@ class TodayAdCarousel extends StatelessWidget {
!controller.userStateService.isBound;
final activeBanners = <Widget>[];
if (showHrv) {
if (showNotificationAuthorization) {
activeBanners.add(
TodayHrvAdBanner(
TodayNotificationAuthorizationBanner(
controller: controller,
showMargin: false,
),
);
}
if (showNotificationAuthorization) {
if (showHrv) {
activeBanners.add(
TodayNotificationAuthorizationBanner(
TodayHrvAdBanner(
controller: controller,
showMargin: false,
),
);
}
if (showPartner) {
activeBanners.add(
TodayPartnerAdBanner(
... ...