fix: Generic fixes of bugs from Support (#1774)

This commit is contained in:
David Adegoke
2024-10-31 04:10:40 +03:00
committed by GitHub
parent 5fc649023c
commit 752b6bbebf
10 changed files with 46 additions and 6 deletions
+2
View File
@@ -25,6 +25,7 @@ class CakeImageWidget extends StatelessWidget {
imageUrl!,
height: height,
width: width,
errorBuilder: (_, __, ___) => Icon(Icons.error),
);
}
@@ -33,6 +34,7 @@ class CakeImageWidget extends StatelessWidget {
imageUrl!,
height: height,
width: width,
placeholderBuilder: (_) => Icon(Icons.error),
);
}
@@ -46,6 +46,7 @@ class _ServicesUpdatesWidgetState extends State<ServicesUpdatesWidget> {
"assets/images/notification_icon.svg",
color: Theme.of(context).extension<DashboardPageTheme>()!.pageTitleTextColor,
width: 30,
placeholderBuilder: (_) => Icon(Icons.error),
),
);
}
@@ -136,6 +137,7 @@ class _ServicesUpdatesWidgetState extends State<ServicesUpdatesWidget> {
"assets/images/notification_icon.svg",
color: Theme.of(context).extension<DashboardPageTheme>()!.pageTitleTextColor,
width: 30,
placeholderBuilder: (_) => Icon(Icons.error),
),
if (state.hasData && state.data!.hasUpdates && !wasOpened)
Container(