diff --git a/lib/widgets/drawer/app_drawer.dart b/lib/widgets/drawer/app_drawer.dart index 8e6cb704e..a69ce8f29 100644 --- a/lib/widgets/drawer/app_drawer.dart +++ b/lib/widgets/drawer/app_drawer.dart @@ -65,26 +65,25 @@ class _AppDrawerState extends State { ]; return Drawer( - child: Selector( - selector: (c, mq) => mq.effectiveBottomPadding, - builder: (c, mqPaddingBottom, child) { - final iconTheme = IconTheme.of(context); - return SingleChildScrollView( - padding: EdgeInsets.only(bottom: mqPaddingBottom), - child: Theme( - data: Theme.of(context).copyWith( - // color used by `ExpansionTile` for leading icon - unselectedWidgetColor: Colors.white, - ), + child: ListTileTheme.merge( + selectedColor: Theme.of(context).accentColor, + child: Selector( + selector: (c, mq) => mq.effectiveBottomPadding, + builder: (c, mqPaddingBottom, child) { + final iconTheme = IconTheme.of(context); + return SingleChildScrollView( + padding: EdgeInsets.only(bottom: mqPaddingBottom), child: IconTheme( - data: iconTheme.copyWith(size: iconTheme.size * MediaQuery.textScaleFactorOf(context)), + data: iconTheme.copyWith( + size: iconTheme.size * MediaQuery.textScaleFactorOf(context), + ), child: Column( children: drawerItems, ), ), - ), - ); - }, + ); + }, + ), ), ); }