Merge pull request #1483 from RoboSats/disable-android-notifications

fix proxy logo
This commit is contained in:
KoalaSat
2024-09-18 14:25:03 +00:00
committed by GitHub

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