refactor(app): remove debug logging from voice and UI components

This commit is contained in:
Mohamed Boudra
2026-03-13 21:07:18 +07:00
parent 80a2f8052c
commit 502dd2d2e2
28 changed files with 56 additions and 1288 deletions
+1 -8
View File
@@ -86,7 +86,6 @@ async function ensureTauriNotificationPermission(
try {
const granted = await notificationModule.isPermissionGranted();
if (granted) {
console.log("[OSNotifications][Tauri] Permission already granted");
return true;
}
} catch (error) {
@@ -106,7 +105,6 @@ async function ensureTauriNotificationPermission(
try {
const result = await notificationModule.requestPermission();
console.log("[OSNotifications][Tauri] requestPermission result:", result);
return result === "granted";
} catch (error) {
console.warn(
@@ -210,12 +208,7 @@ export async function sendOsNotification(
const NotificationConstructor = getWebNotificationConstructor();
if (NotificationConstructor) {
const granted = await ensureNotificationPermission();
if (!granted) {
console.log(
"[OSNotifications][Web] Permission not granted:",
NotificationConstructor.permission
);
} else {
if (granted) {
const notification = new NotificationConstructor(payload.title, {
body: payload.body,
data: payload.data,