diff --git a/app/lib/features/chat/widgets/bubble_builder.dart b/app/lib/features/chat/widgets/bubble_builder.dart index cfbff7c3bec6..d3ef5679b7db 100644 --- a/app/lib/features/chat/widgets/bubble_builder.dart +++ b/app/lib/features/chat/widgets/bubble_builder.dart @@ -167,10 +167,9 @@ class _ChatBubble extends ConsumerWidget { children: [ Container( decoration: BoxDecoration( - color: Theme.of(context) - .colorScheme - .secondaryContainer - .withOpacity(0.3), + color: isAuthor + ? Theme.of(context).colorScheme.surface.withOpacity(0.3) + : Theme.of(context).colorScheme.onSurface.withOpacity(0.2), borderRadius: BorderRadius.circular(22), ), child: Column( diff --git a/app/lib/features/news/widgets/news_item.dart b/app/lib/features/news/widgets/news_item.dart index 02ba053429ad..84063a213de0 100644 --- a/app/lib/features/news/widgets/news_item.dart +++ b/app/lib/features/news/widgets/news_item.dart @@ -180,8 +180,15 @@ class _NewsItemState extends ConsumerState { loading: () => const EventItemSkeleton(), error: (e, s) { _log.severe('Failed to load cal event', e, s); - return Center( - child: Text(L10n.of(context).failedToLoadEvent(e)), + return Card( + child: ListTile( + leading: const Icon(Icons.calendar_month), + title: Text(L10n.of(context).eventNoLongerAvailable), + subtitle: Text( + L10n.of(context).eventDeletedOrFailedToLoad, + style: Theme.of(context).textTheme.labelLarge, + ), + ), ); }, ); diff --git a/app/lib/l10n/app_en.arb b/app/lib/l10n/app_en.arb index edf222df6a28..0af1b43c9dad 100644 --- a/app/lib/l10n/app_en.arb +++ b/app/lib/l10n/app_en.arb @@ -2126,5 +2126,7 @@ "inSpaceLabelInline": "In", "comingSoon": "Not supported yet, coming soon!", "colonCharacter": " : ", - "errorLoadingSpaces": "Error loading spaces: {error}" + "errorLoadingSpaces": "Error loading spaces: {error}", + "eventNoLongerAvailable": "Event no longer available", + "eventDeletedOrFailedToLoad": "This may due to event deletion or failed to load" }