From 2ea94de8c63325a7f355c3f360e4ef041f14ee7d Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Mon, 7 Mar 2016 15:47:35 -0800 Subject: [PATCH] Show video title in app title bar --- renderer/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/renderer/index.js b/renderer/index.js index 306fc4f9..d0b088b1 100644 --- a/renderer/index.js +++ b/renderer/index.js @@ -168,6 +168,7 @@ function dispatch (action, ...args) { closeServer() } state.url = '/' + state.title = config.APP_NAME update() } if (action === 'forward') { @@ -398,6 +399,7 @@ function closeServer () { function openPlayer (torrent) { startServer(torrent, function () { state.url = '/player' + state.title = torrent.name update() }) }