mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 00:35:26 +03:00
parent
0c80ccce00
commit
60dd0501b2
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ export function isWeb() {
|
|||
return Capacitor.getPlatform() === "web";
|
||||
}
|
||||
if (navigator.userAgentData) {
|
||||
return ["Linux", "Mac", "Windows"].includes(navigator.userAgentData.platform);
|
||||
return ["Linux", "macOS", "Windows"].includes(navigator.userAgentData.platform);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue