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:
parent
a39c40539f
commit
1839eaae3d
@ -76,7 +76,7 @@ export class Element {
|
|||||||
} else if (platform === Platform.Linux || platform === Platform.Windows || platform === Platform.macOS) {
|
} else if (platform === Platform.Linux || platform === Platform.Windows || platform === Platform.macOS) {
|
||||||
return `element://vector/webapp/#/${encodeURIComponent(fragmentPath)}`;
|
return `element://vector/webapp/#/${encodeURIComponent(fragmentPath)}`;
|
||||||
} else {
|
} else {
|
||||||
return `element://${encodeURIComponent(fragmentPath)}`;
|
return `element://${fragmentPath}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user