fix: Minor design fix

This commit is contained in:
Christian Pauly 2020-10-17 13:04:33 +02:00
parent e9aa285f1a
commit a713a2f352
1 changed files with 6 additions and 10 deletions

View File

@ -560,14 +560,11 @@ class _ChatState extends State<_Chat> {
body: Stack( body: Stack(
children: <Widget>[ children: <Widget>[
if (Matrix.of(context).wallpaper != null) if (Matrix.of(context).wallpaper != null)
Opacity( Image.file(
opacity: 0.66, Matrix.of(context).wallpaper,
child: Image.file( height: double.infinity,
Matrix.of(context).wallpaper, width: double.infinity,
height: double.infinity, fit: BoxFit.cover,
width: double.infinity,
fit: BoxFit.cover,
),
), ),
Column( Column(
children: <Widget>[ children: <Widget>[
@ -812,8 +809,7 @@ class _ChatState extends State<_Chat> {
room.canSendDefaultMessages && room.membership == Membership.join room.canSendDefaultMessages && room.membership == Membership.join
? Container( ? Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: color: Theme.of(context).backgroundColor,
Theme.of(context).backgroundColor.withOpacity(0.8),
), ),
child: Row( child: Row(
crossAxisAlignment: CrossAxisAlignment.end, crossAxisAlignment: CrossAxisAlignment.end,