WIP
This commit is contained in:
parent
f670d6e4b7
commit
80a48dc4cb
|
@ -479,6 +479,33 @@ class AppState extends ChangeNotifier {
|
||||||
}
|
}
|
||||||
|
|
||||||
void deleteAll() {
|
void deleteAll() {
|
||||||
|
AppState().deleteAccessPass();
|
||||||
|
AppState().deleteCliUUID();
|
||||||
|
AppState().deleteCreatedAt();
|
||||||
|
AppState().deleteDevUUID();
|
||||||
|
AppState().deleteDevice();
|
||||||
|
AppState().deleteEmail();
|
||||||
|
AppState().deleteFingerprint();
|
||||||
|
AppState().deleteFingerprintPass();
|
||||||
|
AppState().deleteIsLogged();
|
||||||
|
AppState().deleteLocal();
|
||||||
|
AppState().deleteName();
|
||||||
|
AppState().deleteOwnerUUID();
|
||||||
|
AppState().deletePass();
|
||||||
|
AppState().deletePasswd();
|
||||||
|
AppState().deletePerson();
|
||||||
|
AppState().deletePanic();
|
||||||
|
AppState().deletePanicPass();
|
||||||
|
AppState().deleteProvisional();
|
||||||
|
AppState().deleteStatus();
|
||||||
|
AppState().deleteToken();
|
||||||
|
AppState().deleteTokenAPNS();
|
||||||
|
AppState().deleteUpdatedAt();
|
||||||
|
AppState().deleteUserUUID();
|
||||||
|
AppState().deleteWhatsapp();
|
||||||
|
AppState().deleteContext();
|
||||||
|
AppState().deleteRemoteId();
|
||||||
|
AppState().deleteSerialNumber();
|
||||||
secureStorage.deleteAll();
|
secureStorage.deleteAll();
|
||||||
AppState().isLogged = false;
|
AppState().isLogged = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -406,40 +406,6 @@ class _HomePageWidgetState extends State<HomePageWidget> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Container(
|
|
||||||
width: 50.0,
|
|
||||||
child: Container(
|
|
||||||
height: 30.0,
|
|
||||||
decoration: const BoxDecoration(),
|
|
||||||
child: Row(
|
|
||||||
mainAxisSize: MainAxisSize.min,
|
|
||||||
mainAxisAlignment: MainAxisAlignment.end,
|
|
||||||
children: [
|
|
||||||
Flexible(
|
|
||||||
child: FlutterFlowIconButton(
|
|
||||||
borderRadius: 100.0,
|
|
||||||
borderWidth: 1.0,
|
|
||||||
buttonSize: 40.0,
|
|
||||||
icon: Icon(
|
|
||||||
Icons.close_sharp,
|
|
||||||
color: FlutterFlowTheme.of(context)
|
|
||||||
.primary,
|
|
||||||
size: 20.0,
|
|
||||||
),
|
|
||||||
onPressed: () async {
|
|
||||||
if (scaffoldKey
|
|
||||||
.currentState!.isDrawerOpen ||
|
|
||||||
scaffoldKey.currentState!
|
|
||||||
.isEndDrawerOpen) {
|
|
||||||
Navigator.pop(context);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
]
|
]
|
||||||
.divide(const SizedBox(width: 0.0))
|
.divide(const SizedBox(width: 0.0))
|
||||||
.around(const SizedBox(width: 0.0)),
|
.around(const SizedBox(width: 0.0)),
|
||||||
|
|
Loading…
Reference in New Issue