mirror of
https://github.com/RoboSats/robosats.git
synced 2025-02-07 05:49:04 +00:00
fix proxy logo
This commit is contained in:
parent
670bb1fbc2
commit
4c6f86d7c1
@ -55,9 +55,13 @@ const TorIndicator = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
const TorConnectionBadge = (): JSX.Element => {
|
const TorConnectionBadge = (): JSX.Element => {
|
||||||
const { torStatus } = useContext<UseAppStoreType>(AppContext);
|
const { torStatus, settings } = useContext<UseAppStoreType>(AppContext);
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
|
if (!settings.useProxy) {
|
||||||
|
return <></>;
|
||||||
|
}
|
||||||
|
|
||||||
if (torStatus === 'OFF' || torStatus === 'STOPPING') {
|
if (torStatus === 'OFF' || torStatus === 'STOPPING') {
|
||||||
return (
|
return (
|
||||||
<TorIndicator
|
<TorIndicator
|
||||||
|
Loading…
Reference in New Issue
Block a user