1
0
mirror of https://github.com/go-vikunja/app synced 2024-06-02 18:49:47 +00:00

fixed logout from settings

This commit is contained in:
Benimautner 2023-05-16 21:09:35 +02:00
parent 8cd827d572
commit 1f23c15742

View File

@ -165,7 +165,9 @@ class SettingsPageState extends State<SettingsPage> {
: ""),
Divider(),
TextButton(
onPressed: () => VikunjaGlobal.of(context).logoutUser(context),
onPressed: () => setState(() {
VikunjaGlobal.of(context).logoutUser(context);
}),
child: Text("Logout")),
],
),