fix(Syncing): cancelling syncing flow should not result in error dialog (#14633)
Closes #11908
This commit is contained in:
parent
5fbc262dec
commit
f965ab4540
|
@ -113,6 +113,8 @@ method onLoggedInUserAuthenticated*(self: Module, pin: string, password: string,
|
||||||
if chatKey.startsWith("0x"):
|
if chatKey.startsWith("0x"):
|
||||||
chatKey = chatKey[2..^1]
|
chatKey = chatKey[2..^1]
|
||||||
let connectionString = self.controller.getConnectionStringForBootstrappingAnotherDevice(password, chatKey)
|
let connectionString = self.controller.getConnectionStringForBootstrappingAnotherDevice(password, chatKey)
|
||||||
|
if password.len == 0 and pin.len == 0:
|
||||||
|
return
|
||||||
self.view.openPopupWithConnectionString(connectionString)
|
self.view.openPopupWithConnectionString(connectionString)
|
||||||
|
|
||||||
proc validateConnectionString*(self: Module, connectionString: string): string =
|
proc validateConnectionString*(self: Module, connectionString: string): string =
|
||||||
|
|
Loading…
Reference in New Issue