fix not in logout

This commit is contained in:
J. A. Messias 2024-09-13 14:24:23 -03:00
parent 869116576f
commit 339d3ab725
1 changed files with 1 additions and 2 deletions

View File

@ -195,12 +195,11 @@ class MenuComponentModel extends FlutterFlowModel<MenuComponentWidget> {
enText: 'Are you sure you want to logout?',
ptText: 'Tem certeza',
), () async {
AppState().deleteAll();
PhpGroup.unregisterDevice.call(
devUUID: AppState().devUUID,
userUUID: AppState().userUUID,
);
AppState().deleteAll();
context.go(
'/welcomePage',