Show video title in app title bar
This commit is contained in:
parent
2a423a8cb3
commit
2ea94de8c6
1 changed files with 2 additions and 0 deletions
|
|
@ -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()
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue