mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-17 18:35:19 +02:00
remove dead code: allPermissionsGranted, simulateCopy, pendingSuggestionText, updateSuggestionText
This commit is contained in:
parent
c5aa869adb
commit
080acf5e0a
7 changed files with 1 additions and 28 deletions
|
|
@ -27,11 +27,6 @@ export function getPermissionsStatus(): PermissionsStatus {
|
|||
};
|
||||
}
|
||||
|
||||
export function allPermissionsGranted(): boolean {
|
||||
const status = getPermissionsStatus();
|
||||
return status.accessibility === 'authorized' && status.screenRecording === 'authorized';
|
||||
}
|
||||
|
||||
export function requestAccessibility(): void {
|
||||
if (!isMac()) return;
|
||||
const perms = getNodeMacPermissions();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue