mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-14 19:36:24 +00:00
Fix fetchInfo android
This commit is contained in:
parent
26a4d3860d
commit
72f620fee4
@ -335,9 +335,11 @@ export const AppContextProvider = ({
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (open.stats || open.coordinator || info.coordinatorVersion == 'v?.?.?') {
|
if (open.stats || open.coordinator || info.coordinatorVersion == 'v?.?.?') {
|
||||||
|
if (window.NativeRobosats === undefined || torStatus == '"Done"') {
|
||||||
fetchInfo();
|
fetchInfo();
|
||||||
}
|
}
|
||||||
}, [open.stats, open.coordinator, open.exchange]);
|
}
|
||||||
|
}, [open.stats, open.coordinator]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
// Sets Setting network from coordinator API param if accessing via web
|
// Sets Setting network from coordinator API param if accessing via web
|
||||||
|
Loading…
Reference in New Issue
Block a user