update background color in preferences screen to use surface color scheme

This commit is contained in:
Md Asif 2025-06-01 13:02:04 +05:30
parent c29eb28053
commit 713b14ee88

View File

@ -13,7 +13,7 @@ class Preference extends StatelessWidget {
PreferencesProvider preferencesProvider = PreferencesProvider preferencesProvider =
Provider.of<PreferencesProvider>(context); Provider.of<PreferencesProvider>(context);
return Scaffold( return Scaffold(
backgroundColor: Theme.of(context).colorScheme.background, backgroundColor: Theme.of(context).colorScheme.surface,
appBar: AppBar( appBar: AppBar(
title: Text(AppLocalizations.of(context)!.preferences), title: Text(AppLocalizations.of(context)!.preferences),
), ),