eliminar token y solicitud screen cambio de statefull a stateless
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user