WIP
This commit is contained in:
parent
0534845299
commit
fc77d67767
|
@ -147,7 +147,6 @@ class PreferencesPageModel with ChangeNotifier {
|
||||||
),
|
),
|
||||||
FFButtonWidget(
|
FFButtonWidget(
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
FFAppState().notify = !FFAppState().notify;
|
|
||||||
PhpGroup.changeNotifica
|
PhpGroup.changeNotifica
|
||||||
.call(
|
.call(
|
||||||
userUUID: FFAppState().userUUID,
|
userUUID: FFAppState().userUUID,
|
||||||
|
@ -157,6 +156,8 @@ class PreferencesPageModel with ChangeNotifier {
|
||||||
notifica: FFAppState().notify ? 'S' : 'N',
|
notifica: FFAppState().notify ? 'S' : 'N',
|
||||||
)
|
)
|
||||||
.then((value) {
|
.then((value) {
|
||||||
|
FFAppState().notify = !FFAppState().notify;
|
||||||
|
|
||||||
ScaffoldMessenger.of(context).showSnackBar(
|
ScaffoldMessenger.of(context).showSnackBar(
|
||||||
SnackBar(
|
SnackBar(
|
||||||
content: Text(
|
content: Text(
|
||||||
|
|
Loading…
Reference in New Issue