[mob][photos] Fix status bar not adapting it's color with each screen's appbar colour, which is it's background

This commit is contained in:
ashilkn
2024-08-23 17:43:56 +05:30
parent 4ad9089f90
commit a913d2550d

View File

@@ -361,6 +361,15 @@ class _HomeWidgetState extends State<HomeWidget> {
),
),
///To fix the status bar not adapting it's color when switching
///screens the have different appbar colours.
appBar: PreferredSize(
preferredSize: const Size.fromHeight(0),
child: AppBar(
backgroundColor: getEnteColorScheme(context).backgroundElevated,
),
),
resizeToAvoidBottomInset: false,
),
),