added ScaffoldMessenger

This commit is contained in:
Vadim 2023-05-10 14:01:17 +02:00
parent f68aea5133
commit 138e87466b

View file

@ -12,7 +12,8 @@ class SettingsScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return SliverScreen(
return ScaffoldMessenger(
child: SliverScreen(
title: S.of(context).settings,
appBarActions: [
IconButton(
@ -33,6 +34,7 @@ class SettingsScreen extends StatelessWidget {
),
),
],
),
);
}
}