Fix isSSMLEnabled function in tts.ts
This commit is contained in:
parent
9eaa0c9d66
commit
fd171ab058
@ -48,9 +48,6 @@ export const setTTSEnabled = async (isTTSEnabled: boolean) => {
|
|||||||
|
|
||||||
export const isSSMLEnabled = async () => {
|
export const isSSMLEnabled = async () => {
|
||||||
const data = await storage.get("isSSMLEnabled")
|
const data = await storage.get("isSSMLEnabled")
|
||||||
if(!data || data.length === 0) {
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
return data === "true"
|
return data === "true"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user