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,15 +560,12 @@ 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,
child: Image.file(
Matrix.of(context).wallpaper, Matrix.of(context).wallpaper,
height: double.infinity, height: double.infinity,
width: double.infinity, width: double.infinity,
fit: BoxFit.cover, fit: BoxFit.cover,
), ),
),
Column( Column(
children: <Widget>[ children: <Widget>[
ConnectionStatusHeader(), ConnectionStatusHeader(),
@ -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,