♻️ Optimized large screen display post effect

 Push notification
This commit is contained in:
2024-11-21 22:10:12 +08:00
parent 9fd30a1994
commit d41e358c6a
16 changed files with 340 additions and 27 deletions

View File

@ -30,7 +30,7 @@ class _AppNavigationDrawerState extends State<AppNavigationDrawer> {
final nav = context.watch<NavigationProvider>();
final backgroundColor = ResponsiveBreakpoints.of(context).largerThan(MOBILE)
? Theme.of(context).colorScheme.surface
? Colors.transparent
: null;
return ListenableBuilder(
@ -57,7 +57,7 @@ class _AppNavigationDrawerState extends State<AppNavigationDrawer> {
).padding(
horizontal: 32,
top: MediaQuery.of(context).padding.top > 16 ? 8 : 16,
bottom: 16,
bottom: 8,
),
...destinations.where((ele) => ele.isPinned).map((ele) {
return NavigationDrawerDestination(