()
| 40 | const allowAllUnixSockets = settings.sandbox?.network?.allowAllUnixSockets; |
| 41 | const showSocketWarning = hasWarnings && !allowAllUnixSockets; |
| 42 | const getCurrentMode = () => { |
| 43 | if (!currentEnabled) { |
| 44 | return "disabled"; |
| 45 | } |
| 46 | if (currentAutoAllow) { |
| 47 | return "auto-allow"; |
| 48 | } |
| 49 | return "regular"; |
| 50 | }; |
| 51 | const currentMode = getCurrentMode(); |
| 52 | let t2; |
| 53 | if ($[1] !== theme) { |