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:
parent
8cd827d572
commit
1f23c15742
|
@ -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")),
|
||||
],
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue
Block a user