We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 670bb1f commit 4c6f86dCopy full SHA for 4c6f86d
frontend/src/components/TorConnection/index.tsx
@@ -55,9 +55,13 @@ const TorIndicator = ({
55
};
56
57
const TorConnectionBadge = (): JSX.Element => {
58
- const { torStatus } = useContext<UseAppStoreType>(AppContext);
+ const { torStatus, settings } = useContext<UseAppStoreType>(AppContext);
59
const { t } = useTranslation();
60
61
+ if (!settings.useProxy) {
62
+ return <></>;
63
+ }
64
+
65
if (torStatus === 'OFF' || torStatus === 'STOPPING') {
66
return (
67
<TorIndicator
0 commit comments