mirror of
https://github.com/git-touch/git-touch
synced 2025-02-07 15:18:47 +01:00
fix: account switch
This commit is contained in:
parent
b099b6a34c
commit
7bc11e0c84
@ -30,8 +30,11 @@ class _LoginScreenState extends State<LoginScreen> {
|
|||||||
|
|
||||||
return Link(
|
return Link(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
// Navigator.of(context).pop();
|
auth.setActiveAccountIndex(null);
|
||||||
|
// FIXME: trigger scaffold reload
|
||||||
|
Future.delayed(Duration(milliseconds: 100), () {
|
||||||
auth.setActiveAccountIndex(index);
|
auth.setActiveAccountIndex(index);
|
||||||
|
});
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
padding: CommonStyle.padding,
|
padding: CommonStyle.padding,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user