fix: fixed onShowMessage not showing up for some aspects
This commit is contained in:
@@ -223,11 +223,14 @@ class _ChatInfoScreenState extends State<ChatInfoScreen> {
|
||||
if (channel.state == null) {
|
||||
await channel.watch();
|
||||
}
|
||||
Navigator.pop(context);
|
||||
Navigator.pop(context);
|
||||
Navigator.pop(context);
|
||||
Navigator.pop(context);
|
||||
Navigator.pop(context);
|
||||
await Navigator.pop(context);
|
||||
await Future.delayed(Duration(milliseconds: 200));
|
||||
await Navigator.pop(context);
|
||||
await Future.delayed(Duration(milliseconds: 200));
|
||||
await Navigator.pop(context);
|
||||
await Future.delayed(Duration(milliseconds: 200));
|
||||
await Navigator.pop(context);
|
||||
await Navigator.pop(context);
|
||||
Navigator.pushNamed(
|
||||
context,
|
||||
Routes.CHANNEL_PAGE,
|
||||
|
||||
@@ -496,12 +496,15 @@ class _GroupInfoScreenState extends State<GroupInfoScreen> {
|
||||
if (channel.state == null) {
|
||||
await channel.watch();
|
||||
}
|
||||
Navigator.pop(context);
|
||||
Navigator.pop(context);
|
||||
Navigator.pop(context);
|
||||
Navigator.pop(context);
|
||||
Navigator.pop(context);
|
||||
Navigator.pushNamed(
|
||||
await Navigator.pop(context);
|
||||
await Future.delayed(Duration(milliseconds: 200));
|
||||
await Navigator.pop(context);
|
||||
await Future.delayed(Duration(milliseconds: 200));
|
||||
await Navigator.pop(context);
|
||||
await Future.delayed(Duration(milliseconds: 200));
|
||||
await Navigator.pop(context);
|
||||
await Navigator.pop(context);
|
||||
await Navigator.pushNamed(
|
||||
context,
|
||||
Routes.CHANNEL_PAGE,
|
||||
arguments: ChannelPageArgs(
|
||||
|
||||
Reference in New Issue
Block a user