Skip to content

Commit

Permalink
fix proxy logo
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaSat committed Sep 18, 2024
1 parent 670bb1f commit 4c6f86d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/src/components/TorConnection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,13 @@ const TorIndicator = ({
};

const TorConnectionBadge = (): JSX.Element => {
const { torStatus } = useContext<UseAppStoreType>(AppContext);
const { torStatus, settings } = useContext<UseAppStoreType>(AppContext);
const { t } = useTranslation();

if (!settings.useProxy) {
return <></>;
}

if (torStatus === 'OFF' || torStatus === 'STOPPING') {
return (
<TorIndicator
Expand Down

0 comments on commit 4c6f86d

Please sign in to comment.