mirror of
https://github.com/status-im/status-go.git
synced 2025-02-01 17:38:36 +00:00
chore: re-enable toggle is connected flag
This commit is contained in:
parent
9c33049b4f
commit
cd6d22d1c1
@ -205,14 +205,14 @@ func (c *ClientWithFallback) makeCallSingleReturn(main func() (any, error), fall
|
||||
}
|
||||
return err
|
||||
}
|
||||
if true {
|
||||
if toggleIsConnected {
|
||||
c.SetIsConnected(true)
|
||||
}
|
||||
resultChan <- CommandResult{res1: res}
|
||||
return nil
|
||||
}, func(err error) error {
|
||||
if c.fallback == nil {
|
||||
if true {
|
||||
if toggleIsConnected {
|
||||
c.SetIsConnected(false)
|
||||
}
|
||||
return err
|
||||
@ -224,12 +224,12 @@ func (c *ClientWithFallback) makeCallSingleReturn(main func() (any, error), fall
|
||||
resultChan <- CommandResult{vmError: err}
|
||||
return nil
|
||||
}
|
||||
if true {
|
||||
if toggleIsConnected {
|
||||
c.SetIsConnected(false)
|
||||
}
|
||||
return err
|
||||
}
|
||||
if true {
|
||||
if toggleIsConnected {
|
||||
c.SetIsConnected(true)
|
||||
}
|
||||
resultChan <- CommandResult{res1: res}
|
||||
|
Loading…
x
Reference in New Issue
Block a user