mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 20:21:35 +00:00
Merge pull request #1483 from RoboSats/disable-android-notifications
fix proxy logo
This commit is contained in:
commit
cf6aacb297
@ -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