diff --git a/lib/views/addcontactview.dart b/lib/views/addcontactview.dart index 49edc309..d76cd2c4 100644 --- a/lib/views/addcontactview.dart +++ b/lib/views/addcontactview.dart @@ -153,7 +153,7 @@ class _AddContactViewState extends State { }, onChanged: (String importBundle) async { var profileOnion = Provider.of(context, listen: false).onion; - Provider.of(context, listen: false).cwtch.ImportBundle(profileOnion, importBundle); + Provider.of(context, listen: false).cwtch.ImportBundle(profileOnion, importBundle.replaceFirst("cwtch:", "")); Future.delayed(const Duration(milliseconds: 500), () { if (globalErrorHandler.importBundleSuccess) {