This commit is contained in:
Oliver Walters 2021-02-09 20:10:36 +11:00
parent 0c4803b889
commit c2aa51ed95
8 changed files with 28 additions and 19 deletions

View file

@ -175,7 +175,6 @@ class _InvenTreeLoginSettingsState extends State<InvenTreeLoginSettingsWidget> {
_reload();
print("CONNECT FROM A");
// Attempt server login (this will load the newly selected profile
InvenTreeAPI().connectToServer(context).then((result) {
_reload();
@ -210,7 +209,6 @@ class _InvenTreeLoginSettingsState extends State<InvenTreeLoginSettingsWidget> {
if (InvenTreeAPI().isConnected() && profile.key == InvenTreeAPI().profile.key) {
// Attempt server login (this will load the newly selected profile
print("Connect froM A");
InvenTreeAPI().connectToServer(context).then((result) {
_reload();
});