Skip to content

Commit

Permalink
fix :added lanuch sparrow button at workspace/[#2173]
Browse files Browse the repository at this point in the history
  • Loading branch information
aakashreddy-p committed Dec 24, 2024
1 parent 81c993a commit 4e0df35
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
import { onMount } from "svelte";
export let launchSparrowWebApp;
let windowOs = true;
function getOS() {
const getOS = () => {
let userAgent = window.navigator.userAgent;
if (userAgent.indexOf("Mac") != -1) {
windowOs = true;
} else if (userAgent.indexOf("Windows") != -1) {
windowOs = false;
}
}
};
onMount(() => {
getOS();
});
Expand Down

0 comments on commit 4e0df35

Please sign in to comment.