fix drawer background

This commit is contained in:
Salvatore Giordano
2021-01-11 12:21:54 +01:00
parent 062c38af62
commit db1f28134a
+3
View File
@@ -185,6 +185,8 @@ class _HomePageState extends State<HomePage> {
Drawer _buildDrawer(BuildContext context, User user) { Drawer _buildDrawer(BuildContext context, User user) {
return Drawer( return Drawer(
child: Container(
color: StreamChatTheme.of(context).colorTheme.white,
child: SafeArea( child: SafeArea(
child: Padding( child: Padding(
padding: EdgeInsets.only( padding: EdgeInsets.only(
@@ -310,6 +312,7 @@ class _HomePageState extends State<HomePage> {
), ),
), ),
), ),
),
); );
} }
} }