fix: Move unread badge under the back button in chat view
This commit is contained in:
parent
c31411ce33
commit
9190c7879b
|
@ -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…
Reference in New Issue