diff --git a/lib/pangea/activity_sessions/activity_session_chat/activity_menu_button.dart b/lib/pangea/activity_sessions/activity_session_chat/activity_menu_button.dart index ffb7cb9af..cd6317464 100644 --- a/lib/pangea/activity_sessions/activity_session_chat/activity_menu_button.dart +++ b/lib/pangea/activity_sessions/activity_session_chat/activity_menu_button.dart @@ -7,7 +7,6 @@ import 'package:shimmer/shimmer.dart'; import 'package:fluffychat/config/app_config.dart'; import 'package:fluffychat/l10n/l10n.dart'; import 'package:fluffychat/pages/chat/chat.dart'; -import 'package:fluffychat/pangea/activity_sessions/activity_session_chat/activity_chat_extension.dart'; import 'package:fluffychat/pangea/common/utils/overlay.dart'; import 'package:fluffychat/pangea/common/widgets/tutorial_overlay_message.dart'; import 'package:fluffychat/pangea/events/constants/pangea_event_types.dart'; @@ -62,9 +61,9 @@ class _ActivityMenuButtonState extends State { /// to the stats menu button with an explanation of what it does. void _showStatsMenuDropdownInstructions(_) { if (!mounted) return; - if (!widget.controller.shouldShowActivityInstructions) { - return; - } + // if (!widget.controller.shouldShowActivityInstructions) { + // return; + // } final renderObject = context.findRenderObject() as RenderBox; final offset = renderObject.localToGlobal(Offset.zero); diff --git a/lib/pangea/common/widgets/anchored_overlay_widget.dart b/lib/pangea/common/widgets/anchored_overlay_widget.dart index 208295582..3fa88f65a 100644 --- a/lib/pangea/common/widgets/anchored_overlay_widget.dart +++ b/lib/pangea/common/widgets/anchored_overlay_widget.dart @@ -79,7 +79,7 @@ class _AnchoredOverlayWidgetState extends State { child: CustomPaint( painter: CutoutBackgroundPainter( holeRect: widget.anchorRect, - backgroundColor: Colors.black54, + backgroundColor: Colors.black.withAlpha(180), borderRadius: widget.borderRadius ?? 0.0, padding: widget.padding ?? 6.0, ), diff --git a/lib/pangea/common/widgets/tutorial_overlay_message.dart b/lib/pangea/common/widgets/tutorial_overlay_message.dart index 8cb544401..07e608117 100644 --- a/lib/pangea/common/widgets/tutorial_overlay_message.dart +++ b/lib/pangea/common/widgets/tutorial_overlay_message.dart @@ -1,5 +1,7 @@ import 'package:flutter/material.dart'; +import 'package:fluffychat/config/app_config.dart'; + class TutorialOverlayMessage extends StatelessWidget { final String message; @@ -14,23 +16,27 @@ class TutorialOverlayMessage extends StatelessWidget { child: Container( padding: const EdgeInsets.all(16.0), decoration: BoxDecoration( - color: Theme.of(context).colorScheme.onSurface, + // color: Theme.of(context).colorScheme.onSurface, + color: Color.alphaBlend( + Theme.of(context).colorScheme.surface.withAlpha(70), + AppConfig.gold, + ), borderRadius: BorderRadius.circular(12.0), ), - width: 200, + width: 350, alignment: Alignment.center, child: RichText( text: TextSpan( - style: TextStyle( - color: Theme.of(context).colorScheme.surface, - ), + style: Theme.of(context).textTheme.titleMedium?.copyWith( + color: Theme.of(context).colorScheme.onSurface, + ), children: [ WidgetSpan( alignment: PlaceholderAlignment.middle, child: Icon( Icons.info_outlined, - size: 16.0, - color: Theme.of(context).colorScheme.surface, + size: 20.0, + color: Theme.of(context).colorScheme.onSurface, ), ), const WidgetSpan(child: SizedBox(width: 4.0)),