eliminar token y solicitud screen cambio de statefull a stateless

This commit is contained in:
Juan Felipe Duarte
2023-06-21 16:09:46 -05:00
parent 0eb361dc15
commit fa1b373d5e
7 changed files with 25 additions and 31 deletions
+1 -1
View File
@@ -366,7 +366,7 @@ class _DrawerMenuState extends State<DrawerMenu> {
const SizedBox(width: 10),
ElevatedButton(
onPressed: () {
AuthenticationRepository.instance.logout();
AuthenticationRepository.instance.logout(uid!);
},
style: ElevatedButton.styleFrom(
backgroundColor: Colors.white,
+1 -1
View File
@@ -357,7 +357,7 @@ class _DrawerProfessionalState extends State<DrawerProfessional> {
const SizedBox(width: 10),
ElevatedButton(
onPressed: () {
AuthenticationRepository.instance.logout();
AuthenticationRepository.instance.logout(uid!);
},
style: ElevatedButton.styleFrom(
backgroundColor: Colors.white,