WIP
This commit is contained in:
parent
0534845299
commit
fc77d67767
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue