From 286176bc3eaadb6381a9d2153a5df5a78eae11c8 Mon Sep 17 00:00:00 2001 From: cogwheel0 <172976095+cogwheel0@users.noreply.github.com> Date: Mon, 8 Dec 2025 20:41:59 +0530 Subject: [PATCH] fix(ui): crash on tablets --- lib/shared/widgets/responsive_drawer_layout.dart | 5 ++++- pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/shared/widgets/responsive_drawer_layout.dart b/lib/shared/widgets/responsive_drawer_layout.dart index 27b7422..2a837b7 100644 --- a/lib/shared/widgets/responsive_drawer_layout.dart +++ b/lib/shared/widgets/responsive_drawer_layout.dart @@ -239,7 +239,10 @@ class ResponsiveDrawerLayoutState extends State child: ClipRect( child: IgnorePointer( ignoring: widget.tabletDismissible && !_isTabletDocked, - child: widget.drawer, + child: Material( + color: theme.surfaceBackground, + child: widget.drawer, + ), ), ), ), diff --git a/pubspec.yaml b/pubspec.yaml index 2344ddc..33e8a34 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -50,7 +50,7 @@ dependencies: flutter_tts: ^4.2.3 audioplayers: ^6.5.1 image_picker: ^1.2.0 - file_picker: ^10.3.3 + file_picker: ^10.3.7 path_provider: ^2.1.4 # Utilities