Skip to content

Commit 4c6f86d

Browse files
committed
fix proxy logo
1 parent 670bb1f commit 4c6f86d

File tree

1 file changed

+5
-1
lines changed
  • frontend/src/components/TorConnection

1 file changed

+5
-1
lines changed

frontend/src/components/TorConnection/index.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,13 @@ const TorIndicator = ({
5555
};
5656

5757
const TorConnectionBadge = (): JSX.Element => {
58-
const { torStatus } = useContext<UseAppStoreType>(AppContext);
58+
const { torStatus, settings } = useContext<UseAppStoreType>(AppContext);
5959
const { t } = useTranslation();
6060

61+
if (!settings.useProxy) {
62+
return <></>;
63+
}
64+
6165
if (torStatus === 'OFF' || torStatus === 'STOPPING') {
6266
return (
6367
<TorIndicator

0 commit comments

Comments
 (0)