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
commit cf6aacb297
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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