Skip to content

Commit f3cb3ec

Browse files
committed
fix(account): replace Container with ColoredBox for better performance
- Replaced Container with ColoredBox in the in-app notification center page - This change improves performance by using a more efficient widget for colored backgrounds
1 parent c95d660 commit f3cb3ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/account/view/in_app_notification_center_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class _InAppNotificationCenterPageState
197197
),
198198
),
199199
if (isDeleting)
200-
Container(
200+
ColoredBox(
201201
color: Colors.black.withOpacity(0.5),
202202
child: const Center(child: CircularProgressIndicator()),
203203
),

0 commit comments

Comments
 (0)