Fix isSSMLEnabled function in tts.ts

This commit is contained in:
n4ze3m 2024-04-14 18:19:29 +05:30
parent 9eaa0c9d66
commit fd171ab058

View File

@ -48,9 +48,6 @@ export const setTTSEnabled = async (isTTSEnabled: boolean) => {
export const isSSMLEnabled = async () => {
const data = await storage.get("isSSMLEnabled")
if(!data || data.length === 0) {
return true
}
return data === "true"
}