Skip to content

Commit

Permalink
Use shareSocialOutline as the default share icon (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
sharunkumar authored Jun 9, 2024
2 parents d30b65a + 0462828 commit 04f43e5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/helpers/device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import UAParser from "ua-parser-js";
import { Capacitor } from "@capacitor/core";
import { NavMode, NavModes } from "capacitor-android-nav-mode";
import { memoize } from "lodash";
import { shareOutline, shareSocialOutline } from "ionicons/icons";
import { shareSocialOutline } from "ionicons/icons";
import { Mode } from "@ionic/core";
import { LOCALSTORAGE_KEYS, get } from "../features/settings/syncStorage";

Expand Down Expand Up @@ -74,6 +74,4 @@ export function getAndroidNavMode() {

export const isIosTheme = memoize(() => getDeviceMode() === "ios");

export const getShareIcon = memoize(() =>
isIosTheme() ? shareOutline : shareSocialOutline,
);
export const getShareIcon = memoize(() => shareSocialOutline);

0 comments on commit 04f43e5

Please sign in to comment.