Auto-deploy: 2026-06-02 18:05:17
This commit is contained in:
@@ -70,7 +70,13 @@
|
||||
return; // offscreen script restarts it automatically
|
||||
}
|
||||
stopListening();
|
||||
showStatus('error', '❌ خطأ: ' + getArabicError(message.payload.error));
|
||||
|
||||
if (message.payload.error === 'not-allowed') {
|
||||
showStatus('error', '❌ الرجاء منح الصلاحية (تم فتح صفحة جديدة)');
|
||||
chrome.runtime.sendMessage({ type: 'OPEN_PERMISSION_PAGE' });
|
||||
} else {
|
||||
showStatus('error', '❌ خطأ: ' + getArabicError(message.payload.error));
|
||||
}
|
||||
} else if (message.type === 'OFFSCREEN_RECORDING_END') {
|
||||
if (isListening) {
|
||||
// Unexpected end from offscreen while we still consider ourselves listening
|
||||
|
||||
Reference in New Issue
Block a user