Fix webtorrent disabled by default

This commit is contained in:
Chocobozzz 2018-10-19 14:56:02 +02:00
parent 3aa5001eaa
commit e280dd0681
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ function getStoredWebTorrentEnabled (): boolean {
const value = getLocalStorage('webtorrent_enabled')
if (value !== null && value !== undefined) return value === 'true'
return false
// By default webtorrent is enabled
return true
}
function getStoredMute () {