Fix whitespace formatting in isTTSEnabled function in tts.ts

This commit is contained in:
n4ze3m 2024-04-14 18:32:16 +05:30
parent fd171ab058
commit 476323d928

View File

@ -36,7 +36,7 @@ export const setVoice = async (voice: string) => {
export const isTTSEnabled = async () => { export const isTTSEnabled = async () => {
const data = await storage.get("isTTSEnabled") const data = await storage.get("isTTSEnabled")
if(!data || data.length === 0) { if (!data || data.length === 0) {
return true return true
} }
return data === "true" return data === "true"