fix: Chat background

This commit is contained in:
Krille Fear 2021-11-13 17:13:09 +01:00
parent 5306865aba
commit 39f7fd6c0b
1 changed files with 3 additions and 2 deletions

View File

@ -233,8 +233,9 @@ class ChatView extends StatelessWidget {
), ),
) )
: null, : null,
backgroundColor: Theme.of(context).primaryColor.withAlpha( backgroundColor: Theme.of(context).brightness == Brightness.light
Theme.of(context).brightness == Brightness.light ? 15 : 70), ? FluffyThemes.lighten(Theme.of(context).primaryColor, 0.51)
: FluffyThemes.darken(Theme.of(context).primaryColor, 0.325),
body: Stack( body: Stack(
children: <Widget>[ children: <Widget>[
if (Matrix.of(context).wallpaper != null) if (Matrix.of(context).wallpaper != null)