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

This commit is contained in:
Christian Pauly 2022-08-21 07:43:59 +02:00
parent c31411ce33
commit 9190c7879b

View File

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