Allow cwtch: prefix #366

Merged
dan merged 3 commits from cwtch_prefix into trunk 2022-02-09 22:37:27 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 953971980f - Show all commits

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) {