diff --git a/example/lib/chat_info_screen.dart b/example/lib/chat_info_screen.dart index c96d982f..50cb16f8 100644 --- a/example/lib/chat_info_screen.dart +++ b/example/lib/chat_info_screen.dart @@ -223,14 +223,6 @@ class _ChatInfoScreenState extends State { if (channel.state == null) { await channel.watch(); } - 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, diff --git a/example/lib/group_info_screen.dart b/example/lib/group_info_screen.dart index ace7e2c8..ffab48df 100644 --- a/example/lib/group_info_screen.dart +++ b/example/lib/group_info_screen.dart @@ -496,14 +496,6 @@ class _GroupInfoScreenState extends State { if (channel.state == null) { await channel.watch(); } - 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, diff --git a/example/lib/main.dart b/example/lib/main.dart index cc01cec4..b7c30dce 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -527,8 +527,6 @@ class ChannelPage extends StatelessWidget { if (channel.state == null) { await channel.watch(); } - Navigator.pop(context); - Navigator.pop(context); Navigator.pushReplacementNamed( context, Routes.CHANNEL_PAGE,