Fix webtorrent disabled by default
This commit is contained in:
parent
3aa5001eaa
commit
e280dd0681
|
@ -14,7 +14,8 @@ function getStoredWebTorrentEnabled (): boolean {
|
||||||
const value = getLocalStorage('webtorrent_enabled')
|
const value = getLocalStorage('webtorrent_enabled')
|
||||||
if (value !== null && value !== undefined) return value === 'true'
|
if (value !== null && value !== undefined) return value === 'true'
|
||||||
|
|
||||||
return false
|
// By default webtorrent is enabled
|
||||||
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
function getStoredMute () {
|
function getStoredMute () {
|
||||||
|
|
Loading…
Reference in New Issue