fix(sample): fix various bugs.
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
@@ -245,12 +245,13 @@ class _ChatInfoScreenState extends State<ChatInfoScreen> {
|
||||
if (channel.state == null) {
|
||||
await channel.watch();
|
||||
}
|
||||
Navigator.pushNamed(
|
||||
Navigator.pushNamedAndRemoveUntil(
|
||||
context,
|
||||
Routes.CHANNEL_PAGE,
|
||||
ModalRoute.withName(Routes.CHANNEL_LIST_PAGE),
|
||||
arguments: ChannelPageArgs(
|
||||
channel: channel,
|
||||
initialMessage: message,
|
||||
channel: c,
|
||||
initialMessage: m,
|
||||
),
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user