Remove url encoding from android element:// links

#248 introduced url encoding for the android element:// link but this caused a regression because the encoded url cannot be picked up by android's filters.  See #259 

This returns the android url to its previous form which still worked.
This commit is contained in:
Andrew Ryan 2022-03-04 14:15:26 -08:00 committed by GitHub
parent a39c40539f
commit 1839eaae3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ export class Element {
} else if (platform === Platform.Linux || platform === Platform.Windows || platform === Platform.macOS) {
return `element://vector/webapp/#/${encodeURIComponent(fragmentPath)}`;
} else {
return `element://${encodeURIComponent(fragmentPath)}`;
return `element://${fragmentPath}`;
}
}