Skip to content

Commit

Permalink
Request notifications permission on Subscape banner click
Browse files Browse the repository at this point in the history
This shows the notification request over the Subscape loading page,
which may not be the final form of the request.
  • Loading branch information
Shadowfiend committed Nov 13, 2023
1 parent 663fc5f commit 0bec674
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/components/Wallet/Banner/PortalBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default function PortalBanner(): ReactElement | null {
const hasIslandAssets = useBackgroundSelector(selectHasIslandAssets)

const showIslandAndDismissBanner = () => {
browser.permissions.request({ permissions: ["notifications"] })
browser.tabs.create({ url: "https://app.taho.xyz" })
}

Expand Down

0 comments on commit 0bec674

Please sign in to comment.