mirror of
https://github.com/bytedream/stream-bypass.git
synced 2025-06-27 18:40:31 +02:00
Fix addon cannot be disabled via ui
This commit is contained in:
@ -33,7 +33,7 @@ export async function getDisabled(): Promise<Match[]> {
|
||||
|
||||
export async function getAllDisabled(): Promise<boolean> {
|
||||
const value = await storageGet('all')
|
||||
return value !== undefined ? value as unknown as boolean : false
|
||||
return value !== undefined ? String(value).toLowerCase() === 'true' : false
|
||||
}
|
||||
|
||||
export async function enableAll() {
|
||||
|
Reference in New Issue
Block a user