Format
continuous-integration/drone/pr Build is pending Details

This commit is contained in:
Sarah Jamie Lewis 2023-09-20 15:30:33 -07:00
parent 8ff0cfe5b1
commit deab06beda
2 changed files with 3 additions and 3 deletions

View File

@ -40,14 +40,14 @@ StepDefinitionGeneric TorVersionPresent() {
context.expect(versionString, "#.#.#", reason: "error reading version string from fetch-tor.sh");
return;
}
context.world.attach( versionString.substring(0,4), "text/plain", "Then I expect the Tor version to be present");
context.world.attach(versionString.substring(0, 4), "text/plain", "Then I expect the Tor version to be present");
//context.reporter.message("test!!!", MessageLevel.info);
print("looking for version string $versionString");
return await context.world.appDriver.waitUntil(() async {
context.world.appDriver.waitForAppToSettle();
final finder = context.world.appDriver.findBy(
versionString.substring(0,4),
versionString.substring(0, 4),
FindType.text,
);
return await context.world.appDriver.isPresent(finder);

View File

@ -230,7 +230,7 @@ class _ContactsViewState extends State<ContactsView> {
break;
case ProfileStatusMenu.disableProfile:
Provider.of<ProfileInfoState>(context, listen: false).enabled = false;
Provider.of<FlwtchState>(context, listen: false).cwtch.DeactivatePeerEngine(onion);
Provider.of<ProfileInfoState>(context, listen: false).deactivatePeerEngine(context);
break;
}
},