mirror of
https://github.com/git-touch/git-touch
synced 2025-01-18 18:29:59 +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(
|
||||
onTap: () {
|
||||
// Navigator.of(context).pop();
|
||||
auth.setActiveAccountIndex(index);
|
||||
auth.setActiveAccountIndex(null);
|
||||
// FIXME: trigger scaffold reload
|
||||
Future.delayed(Duration(milliseconds: 100), () {
|
||||
auth.setActiveAccountIndex(index);
|
||||
});
|
||||
},
|
||||
child: Container(
|
||||
padding: CommonStyle.padding,
|
||||
|
Loading…
Reference in New Issue
Block a user