Skip to content

Commit

Permalink
Clean up usages of shareSocialOutline (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
sharunkumar authored Jun 9, 2024
2 parents 0de77fa + 1972a90 commit d30b65a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/post/inFeed/large/LargePost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import { styled } from "@linaria/react";
import { ActionButton } from "../../actions/ActionButton";
import { IonIcon } from "@ionic/react";
import { share } from "../../../../helpers/lemmy";
import { shareSocialOutline } from "ionicons/icons";
import { SaveButton } from "../../shared/SaveButton";
import { getShareIcon } from "../../../../helpers/device";

const Container = styled.div`
display: flex;
Expand Down Expand Up @@ -200,7 +200,7 @@ export default function LargePost({ post }: PostProps) {
)}
<ActionButton>
<IonIcon
icon={shareSocialOutline}
icon={getShareIcon()}
onClick={(e) => {
e.stopPropagation();
share(post.post);
Expand Down

0 comments on commit d30b65a

Please sign in to comment.