Skip to content

Commit

Permalink
Removal of the isMobile check in Nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
Pawel-Szydlo committed Sep 25, 2024
1 parent 1340183 commit 67eaf33
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/nightly/src/lib/nightly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import type {
} from "@near-wallet-selector/core";
import { waitFor } from "@near-wallet-selector/core";
import { signTransactions } from "@near-wallet-selector/wallet-utils";
import { isMobile } from "is-mobile";
import type { Signer } from "near-api-js";
import * as nearAPI from "near-api-js";
import type { NearNightly, InjectedNightly } from "./injected-nightly";
Expand Down Expand Up @@ -260,11 +259,6 @@ export function setupNightly({
deprecated = false,
}: NightlyWalletParams = {}): WalletModuleFactory<InjectedWallet> {
return async () => {
const mobile = isMobile();
if (mobile) {
return null;
}

const installed = await isInstalled();

return {
Expand Down

0 comments on commit 67eaf33

Please sign in to comment.