Skip to content

Commit

Permalink
Merge branch 'dev' into fix-context-menu-on-storage
Browse files Browse the repository at this point in the history
  • Loading branch information
stavares843 authored Dec 2, 2024
2 parents 6737285 + efb0772 commit 7f438cf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/lib/components/ui/InstallBanner.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@
return localStorage.getItem("install-banner-dismissed") === "true"
}
function isMobile(): boolean {
return /Android|iPhone|iPad|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)
}
let showBanner = !(isElectron() || isTauri() || isMobile() || isBannerClosed())
let showBanner = !(isElectron() || isTauri() || isCapacitor() || isBannerClosed())
let platform = detectPlatform()
function closeBanner() {
Expand Down

0 comments on commit 7f438cf

Please sign in to comment.