fix: Move unread badge under the back button in chat view

krille/new-navigation
Christian Pauly 3 years ago
parent b8acb3e519
commit 7b5d0b9737

@ -17,7 +17,6 @@ class UnreadBadgeBackButton extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Stack( return Stack(
children: [ children: [
const Center(child: BackButton()),
StreamBuilder( StreamBuilder(
stream: Matrix.of(context).client.onSync.stream, stream: Matrix.of(context).client.onSync.stream,
builder: (context, _) { builder: (context, _) {
@ -52,6 +51,7 @@ class UnreadBadgeBackButton extends StatelessWidget {
) )
: Container(); : Container();
}), }),
const Center(child: BackButton()),
], ],
); );
} }

Loading…
Cancel
Save