Skip to content

Commit

Permalink
fix: rsshub link in mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Jan 9, 2025
1 parent 3a6f287 commit ac76cde
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/renderer/src/modules/user/ProfileButton.mobile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import type { FC } from "react"
import { useTranslation } from "react-i18next"
import { Link } from "react-router"

import rsshubLogoUrl from "~/assets/rsshub-icon.png?url"
import { useUserRole, useWhoami } from "~/atoms/user"
import { useSignOut } from "~/hooks/biz/useSignOut"
import { useWallet } from "~/queries/wallet"
Expand Down Expand Up @@ -108,6 +109,11 @@ export const ProfileButton: FC<ProfileButtonProps> = () => {
}}
icon={<i className="i-mgc-settings-7-cute-re" />}
/>
<Item
label={t("words.rsshub")}
link="/rsshub"
icon={<img src={rsshubLogoUrl} className="size-3 grayscale" />}
/>
<Item
label={t("user_button.log_out")}
onClick={signOut}
Expand Down

0 comments on commit ac76cde

Please sign in to comment.