Fixed error in AnalyticsErrorWidget where it used to add the default error message to the errorMessage.

This commit is contained in:
Faris Armoush
2025-05-14 10:47:54 +03:00
parent 7f9d044f7e
commit 46815585cb

View File

@ -12,7 +12,7 @@ class AnalyticsErrorWidget extends StatelessWidget {
return Visibility(
visible: errorMessage != null || (errorMessage?.isNotEmpty ?? false),
child: Text(
'$errorMessage ?? "Something went wrong"',
errorMessage ?? 'Something went wrong',
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: context.textTheme.bodySmall?.copyWith(