fix uri handling?
This commit is contained in:
parent
de0f40bd0b
commit
946db9a6bc
1 changed files with 1 additions and 4 deletions
|
@ -55,11 +55,8 @@ window.addEventListener('popstate', (event, param) => {
|
|||
})
|
||||
|
||||
ipcRenderer.on('open-uri-requested', (event, uri) => {
|
||||
console.log(event)
|
||||
console.log(uri)
|
||||
if (uri && uri.startsWith('lbry://')) {
|
||||
console.log(uri)
|
||||
doNavigate('/show', { uri })
|
||||
app.store.dispatch(doNavigate('/show', { uri }))
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue