forked from cwtch.im/cwtch-ui
Allow cwtch: prefix
This commit is contained in:
parent
040ba80480
commit
953971980f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue