Skip to content

Commit

Permalink
Update Ledger Live env
Browse files Browse the repository at this point in the history
  • Loading branch information
serg-plusplus committed Nov 1, 2021
1 parent 3040231 commit 7083bc4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/lib/temple/ledger-live.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import { browser } from "webextension-polyfill-ts";

import { TempleSharedStorageKey } from "lib/temple/types";

export async function isLedgerLiveEnabledByDefault() {
const isWin = (await browser.runtime.getPlatformInfo()).os === "win";
return process.env.TARGET_BROWSER === "chrome" && !isWin;
return process.env.TARGET_BROWSER === "chrome";
}

export async function isLedgerLiveEnabled() {
Expand Down

0 comments on commit 7083bc4

Please sign in to comment.