add assumeValid param

This commit is contained in:
krawieck 2020-09-22 00:42:10 +02:00
parent 847ccfe887
commit 216049f23c
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ class AddInstancePage extends HookWidget {
delayedLoading.start();
try {
loading.value = true;
await accountsStore.addInstance(instanceController.text);
await accountsStore.addInstance(instanceController.text,
assumeValid: true);
Navigator.of(context).pop(instanceController.text);
} on Exception catch (err) {
scaffoldKey.currentState.showSnackBar(SnackBar(