mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
main page: fix dulplicated account badge
This commit is contained in:
@@ -70,6 +70,7 @@ class AccountsPage extends StatelessWidget {
|
||||
),
|
||||
);
|
||||
element.saveData();
|
||||
ComicSource.notifyListeners();
|
||||
logic.update();
|
||||
},
|
||||
);
|
||||
@@ -124,6 +125,7 @@ class AccountsPage extends StatelessWidget {
|
||||
element.data["account"] = null;
|
||||
element.account?.logout();
|
||||
element.saveData();
|
||||
ComicSource.notifyListeners();
|
||||
logic.update();
|
||||
},
|
||||
trailing: const Icon(Icons.logout),
|
||||
|
Reference in New Issue
Block a user