@@ -13,7 +13,6 @@ import 'package:webtrit_phone/features/features.dart';
1313import 'package:webtrit_phone/l10n/l10n.dart' ;
1414import 'package:webtrit_phone/models/models.dart' ;
1515import 'package:webtrit_phone/repositories/repositories.dart' ;
16- import 'package:webtrit_phone/theme/theme.dart' ;
1716import 'package:webtrit_phone/widgets/widgets.dart' ;
1817
1918import 'conversations_screen_style.dart' ;
@@ -178,9 +177,6 @@ class _ConversationsScreenState extends State<ConversationsScreen> with SingleTi
178177 Widget build (BuildContext context) {
179178 final themeData = Theme .of (context);
180179 final effectiveStyle = widget.style ?? themeData.extension < ConversationsScreenStyles > ()? .primary;
181- final background = effectiveStyle? .background;
182- final isComplexBackground = background? .isComplex ?? false ;
183-
184180 final colorScheme = themeData.colorScheme;
185181 final mediaQueryData = MediaQuery .of (context);
186182
@@ -249,11 +245,12 @@ class _ConversationsScreenState extends State<ConversationsScreen> with SingleTi
249245 background: effectiveStyle? .background,
250246 contentThemeOverride: effectiveStyle? .contentThemeOverride ?? ThemeMode .system,
251247 applyToAppBar: effectiveStyle? .applyToAppBar ?? true ,
248+ extendBodyBehindAppBar: true ,
252249 appBar: MainAppBar (
253250 title: widget.title,
254251 context: context,
255- backgroundColor: isComplexBackground ? Colors .transparent : null ,
256- elevation : isComplexBackground ? 0 : null ,
252+ backgroundColor: themeData.canvasColor. withAlpha ( 150 ) ,
253+ flexibleSpace : const BlurredSurface () ,
257254 bottom: PreferredSize (
258255 preferredSize: Size .fromHeight (
259256 (tabBar != null ? kMainAppBarBottomTabHeight : 0 ) + kMainAppBarBottomSearchHeight,
0 commit comments