Skip to content
This repository has been archived by the owner. It is now read-only.

sync v2 #13197

Closed
wants to merge 16 commits into from

only reset sync if user is not in `setup mode`

  • Loading branch information
Cezar Augusto authored and cezaraugusto committed Mar 1, 2018
commit 61c8577ba7919a0c39af31b5d82e84ffb63478dd
@@ -555,8 +555,11 @@ class SyncTab extends ImmutableComponent {
this.props.hideOverlay('syncChainCode')
this.props.hideOverlay('syncDevicesList')
this.props.hideOverlay('syncAdd')
// cancel sync without warning as user didn't complete setup
this.onReset(false)

if (!this.isSetup) {
// cancel sync without warning as user didn't complete setup
this.onReset(false)
}
}

scanCodeOverlayNoCameraAvailable () {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.