Skip to content

Commit c6d07e3

Browse files
committed
test(notifications): increase delay for in-app notifications in demo mode
- Change the delay from 3 to 10 seconds for in-app notifications in demo mode - This modification helps frontend developers by providing more time to - observe and test the notification flow
1 parent dde131d commit c6d07e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/notifications/services/no_op_push_notification_service.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class NoOpPushNotificationService extends PushNotificationService {
6161
if (environment != AppEnvironment.demo) {
6262
return;
6363
}
64-
Future.delayed(const Duration(seconds: 3), () {
64+
Future.delayed(const Duration(seconds: 10), () {
6565
if (_inAppNotificationsFixturesData.isEmpty) return;
6666

6767
// Use the first notification from the fixtures as the simulated push.

0 commit comments

Comments
 (0)