Design changes

This commit is contained in:
Christian Pauly 2020-04-02 14:16:45 +02:00
parent 8c1ed0de1e
commit 00ef0102f5

View file

@ -535,20 +535,16 @@ class _ChatState extends State<_Chat> {
), ),
), ),
), ),
Divider(
height: 1,
color: Theme.of(context).secondaryHeaderColor,
thickness: 1,
),
room.canSendDefaultMessages && room.canSendDefaultMessages &&
room.membership == Membership.join room.membership == Membership.join
? Container( ? Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Theme.of(context).backgroundColor, color: Theme.of(context).backgroundColor,
boxShadow: [
BoxShadow(
color: Colors.grey.withOpacity(0.2),
spreadRadius: 1,
blurRadius: 2,
offset:
Offset(0, -1), // changes position of shadow
),
],
), ),
child: Row( child: Row(
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,