fix proxy logo

This commit is contained in:
koalasat 2024-09-18 16:24:00 +02:00
parent 670bb1fbc2
commit 4c6f86d7c1
No known key found for this signature in database
GPG Key ID: 2F7F61C6146AB157

View File

@ -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