Merge pull request 'Allow cwtch: prefix' (#366) from cwtch_prefix into trunk
continuous-integration/drone/push Build is passing Details

Reviewed-on: #366
This commit is contained in:
Dan Ballard 2022-02-09 22:37:27 +00:00
commit 3cb6c9d9f4
3 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
2022-02-08-17-36-v1.5.4-41-gd0d5300
2022-02-09-16-27-v1.5.4-43-ga6277fc

View File

@ -1 +1 @@
2022-02-08-22-37-v1.5.4-41-gd0d5300
2022-02-09-21-24-v1.5.4-43-ga6277fc

View File

@ -153,7 +153,7 @@ class _AddContactViewState extends State<AddContactView> {
},
onChanged: (String importBundle) async {
var profileOnion = Provider.of<ProfileInfoState>(context, listen: false).onion;
Provider.of<FlwtchState>(context, listen: false).cwtch.ImportBundle(profileOnion, importBundle);
Provider.of<FlwtchState>(context, listen: false).cwtch.ImportBundle(profileOnion, importBundle.replaceFirst("cwtch:", ""));
Future.delayed(const Duration(milliseconds: 500), () {
if (globalErrorHandler.importBundleSuccess) {