This commit is contained in:
jantunesmesias 2024-08-08 08:43:05 -03:00
parent 0534845299
commit fc77d67767
1 changed files with 2 additions and 1 deletions

View File

@ -147,7 +147,6 @@ class PreferencesPageModel with ChangeNotifier {
),
FFButtonWidget(
onPressed: () async {
FFAppState().notify = !FFAppState().notify;
PhpGroup.changeNotifica
.call(
userUUID: FFAppState().userUUID,
@ -157,6 +156,8 @@ class PreferencesPageModel with ChangeNotifier {
notifica: FFAppState().notify ? 'S' : 'N',
)
.then((value) {
FFAppState().notify = !FFAppState().notify;
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text(