Fix isSSMLEnabled function in tts.ts
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user