From 201c38800b374d9455974f94a542d38688c3b177 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Fri, 12 Jul 2024 23:43:41 +0800 Subject: [PATCH] :bug: Fix drawer unreasonable round corner --- lib/widgets/navigation/app_navigation_drawer.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/widgets/navigation/app_navigation_drawer.dart b/lib/widgets/navigation/app_navigation_drawer.dart index 7db1e11..920ba27 100644 --- a/lib/widgets/navigation/app_navigation_drawer.dart +++ b/lib/widgets/navigation/app_navigation_drawer.dart @@ -6,6 +6,7 @@ import 'package:solian/providers/auth.dart'; import 'package:solian/providers/content/channel.dart'; import 'package:solian/router.dart'; import 'package:solian/shells/root_shell.dart'; +import 'package:solian/theme.dart'; import 'package:solian/widgets/account/account_avatar.dart'; import 'package:solian/widgets/account/account_status_action.dart'; import 'package:solian/widgets/channel/channel_list.dart'; @@ -73,6 +74,8 @@ class _AppNavigationDrawerState extends State { final AuthProvider auth = Get.find(); return NavigationDrawer( + backgroundColor: + SolianTheme.isLargeScreen(context) ? Colors.transparent : null, selectedIndex: _selectedIndex, onDestinationSelected: (idx) { setState(() => _selectedIndex = idx);