File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
apps/desktop/src/renderer/src/modules Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 1
1
import { FeedViewType , UserRole } from "@follow/constants"
2
2
import { IN_ELECTRON } from "@follow/shared/constants"
3
- import { cn , getOS } from "@follow/utils/utils"
3
+ import { cn } from "@follow/utils/utils"
4
4
import { useMutation } from "@tanstack/react-query"
5
5
import { useTranslation } from "react-i18next"
6
6
import { toast } from "sonner"
@@ -265,12 +265,7 @@ export const useRegisterEntryCommands = () => {
265
265
{
266
266
id : COMMAND_ID . entry . share ,
267
267
label : t ( "entry_actions.share" ) ,
268
- icon :
269
- getOS ( ) === "macOS" ? (
270
- < i className = "i-mgc-share-3-cute-re" />
271
- ) : (
272
- < i className = "i-mgc-share-forward-cute-re" />
273
- ) ,
268
+ icon : < i className = "i-mgc-share-forward-cute-re" /> ,
274
269
run : ( { entryId } ) => {
275
270
const entry = useEntryStore . getState ( ) . flatMapEntries [ entryId ]
276
271
if ( ! entry || ! entry . entries . url ) {
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ export const UserProfileModalContent: FC<SubscriptionModalContentProps> = ({ use
220
220
window . open ( UrlBuilder . profile ( user . data . handle ?? user . data . id ) )
221
221
} }
222
222
>
223
- < i className = "i-mgc-share-3 -cute-re" />
223
+ < i className = "i-mgc-share-forward -cute-re" />
224
224
</ ActionButton >
225
225
< ActionButton tooltip = { t ( "user_profile.close" ) } onClick = { modal . dismiss } >
226
226
< i className = "i-mgc-close-cute-re" />
You can’t perform that action at this time.
0 commit comments