diff --git a/lib/feed/view/feed_page.dart b/lib/feed/view/feed_page.dart index 41eae736a..ffb97ce2c 100644 --- a/lib/feed/view/feed_page.dart +++ b/lib/feed/view/feed_page.dart @@ -396,6 +396,12 @@ class _FeedViewState extends State { } FutureOr _handleBack(bool stopDefaultButtonEvent, RouteInfo info) async { + // If the sidebar is open, close it + if (showCommunitySidebar) { + setState(() => showCommunitySidebar = false); + return true; + } + FeedBloc feedBloc = context.read(); ThunderBloc thunderBloc = context.read();