fix uri handling?

This commit is contained in:
Jeremy Kauffman 2017-05-24 18:46:27 -04:00
parent de0f40bd0b
commit 946db9a6bc

View file

@ -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 }))
}
});