fix: temp fix for navigation issues
This commit is contained in:
@@ -223,14 +223,6 @@ class _ChatInfoScreenState extends State<ChatInfoScreen> {
|
|||||||
if (channel.state == null) {
|
if (channel.state == null) {
|
||||||
await channel.watch();
|
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(
|
Navigator.pushNamed(
|
||||||
context,
|
context,
|
||||||
Routes.CHANNEL_PAGE,
|
Routes.CHANNEL_PAGE,
|
||||||
|
|||||||
@@ -496,14 +496,6 @@ class _GroupInfoScreenState extends State<GroupInfoScreen> {
|
|||||||
if (channel.state == null) {
|
if (channel.state == null) {
|
||||||
await channel.watch();
|
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(
|
await Navigator.pushNamed(
|
||||||
context,
|
context,
|
||||||
Routes.CHANNEL_PAGE,
|
Routes.CHANNEL_PAGE,
|
||||||
|
|||||||
@@ -527,8 +527,6 @@ class ChannelPage extends StatelessWidget {
|
|||||||
if (channel.state == null) {
|
if (channel.state == null) {
|
||||||
await channel.watch();
|
await channel.watch();
|
||||||
}
|
}
|
||||||
Navigator.pop(context);
|
|
||||||
Navigator.pop(context);
|
|
||||||
Navigator.pushReplacementNamed(
|
Navigator.pushReplacementNamed(
|
||||||
context,
|
context,
|
||||||
Routes.CHANNEL_PAGE,
|
Routes.CHANNEL_PAGE,
|
||||||
|
|||||||
Reference in New Issue
Block a user