forked from eatvio/eatvio_app
fix: analyzer
This commit is contained in:
@@ -216,7 +216,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
title: 'Уведомление о новых обновлениях',
|
||||
trailing: CupertinoSwitch(
|
||||
value: updatesNotificationsSwitchState,
|
||||
activeColor: appTheme.blueA400,
|
||||
activeTrackColor: appTheme.blueA400,
|
||||
onChanged: (newValue) {
|
||||
setState(() {
|
||||
updatesNotificationsSwitchState = newValue;
|
||||
@@ -245,7 +245,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
title: 'Напоминание о заполнении дневника',
|
||||
trailing: CupertinoSwitch(
|
||||
value: fillDiaryNotificationsSwitchState,
|
||||
activeColor: appTheme.blueA400,
|
||||
activeTrackColor: appTheme.blueA400,
|
||||
onChanged: (newValue) {
|
||||
setState(() {
|
||||
fillDiaryNotificationsSwitchState = newValue;
|
||||
@@ -274,7 +274,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
title: 'Указывать “настроение” в заполнение дневника',
|
||||
trailing: CupertinoSwitch(
|
||||
value: moodSwitchState,
|
||||
activeColor: appTheme.blueA400,
|
||||
activeTrackColor: appTheme.blueA400,
|
||||
onChanged: (newValue) {
|
||||
setState(() {
|
||||
moodSwitchState = newValue;
|
||||
@@ -303,7 +303,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
title: 'Указывать “отход ко сну” в заполнение дневника',
|
||||
trailing: CupertinoSwitch(
|
||||
value: bedTimeSwitchState,
|
||||
activeColor: appTheme.blueA400,
|
||||
activeTrackColor: appTheme.blueA400,
|
||||
onChanged: (newValue) {
|
||||
setState(() {
|
||||
bedTimeSwitchState = newValue;
|
||||
|
||||
Reference in New Issue
Block a user