From ebf73bfdeb7a839f8c9e8fdf6c161ee4f160b2cd Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Fri, 9 Apr 2021 17:32:50 +0200 Subject: [PATCH] fix: Remove blur --- lib/views/chat.dart | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/lib/views/chat.dart b/lib/views/chat.dart index 8c7c8c86..888ef608 100644 --- a/lib/views/chat.dart +++ b/lib/views/chat.dart @@ -689,32 +689,11 @@ class _ChatState extends State { body: Stack( children: [ if (Matrix.of(context).wallpaper != null) - Container( - height: double.infinity, + Image.file( + Matrix.of(context).wallpaper, width: double.infinity, - decoration: BoxDecoration( - image: DecorationImage( - image: FileImage( - Matrix.of(context).wallpaper, - ), - fit: BoxFit.cover, - ), - ), - child: ClipRRect( - // make sure we apply clip it properly - child: BackdropFilter( - filter: ImageFilter.blur( - sigmaX: 4, - sigmaY: 4, - ), - child: Container( - alignment: Alignment.center, - color: Theme.of(context) - .scaffoldBackgroundColor - .withOpacity(0.33), - ), - ), - ), + height: double.infinity, + fit: BoxFit.cover, ), SafeArea( child: Column(