-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed changing device name #9921
Conversation
4247e56
to
94e6918
Compare
Jenkins BuildsClick to see older builds (26)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there :)
ui/app/AppLayouts/Profile/popups/SyncDeviceCustomizationPopup.qml
Outdated
Show resolved
Hide resolved
46497ff
to
3dcc712
Compare
# Once we get more info from `status-go` we may emit success/failed signal from here. | ||
discard status_installations.setInstallationMetadata(installationId, name, hostOs) | ||
let response = status_installations.setInstallationName(installationId, name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't it be in the try block?
if response.error != nil: | ||
let e = Json.decode($response.error, RpcError) | ||
error "error: ", errorDescription = e.message | ||
discard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we do a return here?
Or discard won't execute code after?
@mprakhov thanks for review! |
f0ca079
to
bd76b22
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Fixes #9584
Requires status-im/status-go#3294
What does the PR do
Now it's possible to change device name :)
2023-03-16.21.16.41.mov