mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-15 06:22:48 +00:00
Fixed most of the warnings
This commit is contained in:
parent
715ca0ab3f
commit
f7c3ba0374
87 changed files with 252 additions and 250 deletions
|
@ -88,7 +88,7 @@ class _UpdateScreenState extends State<UpdateScreen> {
|
|||
if (!context.mounted) return;
|
||||
if (result.successful == true) {
|
||||
serversProvider.recheckPeriodServerUpdated();
|
||||
showSnacbkar(
|
||||
showSnackbar(
|
||||
appConfigProvider: appConfigProvider,
|
||||
label: AppLocalizations.of(context)!.requestStartUpdateSuccessful,
|
||||
color: Colors.green,
|
||||
|
@ -96,7 +96,7 @@ class _UpdateScreenState extends State<UpdateScreen> {
|
|||
);
|
||||
}
|
||||
else {
|
||||
showSnacbkar(
|
||||
showSnackbar(
|
||||
appConfigProvider: appConfigProvider,
|
||||
label: AppLocalizations.of(context)!.requestStartUpdateFailed,
|
||||
color: Colors.red,
|
||||
|
@ -220,7 +220,7 @@ class _Header extends SliverPersistentHeaderDelegate {
|
|||
return LayoutBuilder(
|
||||
builder: (context, constraints) => Container(
|
||||
decoration: BoxDecoration(
|
||||
color: Theme.of(context).colorScheme.surfaceVariant,
|
||||
color: Theme.of(context).colorScheme.surfaceContainerHighest,
|
||||
),
|
||||
child: Align(
|
||||
alignment: Alignment.topLeft,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue