fix(sample): fix various bugs.

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2022-01-19 19:04:03 +05:30
committed by xsahil03x
parent b59482d310
commit ae50dd2e71
4 changed files with 16 additions and 6 deletions
@@ -144,7 +144,7 @@ class _GroupChatDetailsScreenState extends State<GroupChatDetailsScreen> {
Navigator.pushNamedAndRemoveUntil(
context,
Routes.CHANNEL_PAGE,
ModalRoute.withName(Routes.HOME),
ModalRoute.withName(Routes.CHANNEL_LIST_PAGE),
arguments: ChannelPageArgs(channel: channel),
);
} catch (err) {