Allow cwtch: prefix #366

Merged
dan merged 3 commits from cwtch_prefix into trunk 2022-02-09 22:37:27 +00:00
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) {