add const
This commit is contained in:
@@ -99,7 +99,7 @@ class _SettingsViewState extends State<SettingsView> {
|
|||||||
actions: [
|
actions: [
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () => Navigator.of(context).pop(false),
|
onPressed: () => Navigator.of(context).pop(false),
|
||||||
child: Text(loc.cancel, style: TextStyle(color: CustomTheme.textColor),),
|
child: Text(loc.cancel, style: const TextStyle(color: CustomTheme.textColor),),
|
||||||
),
|
),
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () => Navigator.of(context).pop(true),
|
onPressed: () => Navigator.of(context).pop(true),
|
||||||
|
|||||||
Reference in New Issue
Block a user