From f442bb89f928a5fc8d64bfa44ab320cf0f305595 Mon Sep 17 00:00:00 2001 From: Krille Date: Fri, 11 Aug 2023 15:05:56 +0200 Subject: [PATCH] chore: follow up routing --- lib/widgets/layouts/side_view_layout.dart | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/lib/widgets/layouts/side_view_layout.dart b/lib/widgets/layouts/side_view_layout.dart index 4162350f..0370a0c0 100644 --- a/lib/widgets/layouts/side_view_layout.dart +++ b/lib/widgets/layouts/side_view_layout.dart @@ -41,17 +41,19 @@ class SideViewLayout extends StatelessWidget { : !threeColumnMode ? null : sideViewWidth, - child: Container( - clipBehavior: Clip.hardEdge, - decoration: BoxDecoration( - border: Border( - left: BorderSide( - color: Theme.of(context).dividerColor, + child: hideSideView + ? const SizedBox.shrink() + : Container( + clipBehavior: Clip.hardEdge, + decoration: BoxDecoration( + border: Border( + left: BorderSide( + color: Theme.of(context).dividerColor, + ), + ), + ), + child: sideView, ), - ), - ), - child: sideView, - ), ), ], );