Replace inline shell command building in QML with calls to parseClipboardDetection, parseStatusResult, buildToggleCommand, and buildCopyCommand. This centralizes sanitization logic and removes duplicated try/catch and ternary blocks from the UI layer. |
||
|---|---|---|
| .. | ||
| lib.js | ||
| plugin.json | ||
| TailscaleWidget.qml | ||