Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(Onboarding): Image is visible after first onboard. Other minor fixes #10489

Merged
merged 1 commit into from
May 2, 2023

Conversation

igor-sirotin
Copy link
Contributor

Fixes #10099

What does the PR do

  1. The profile image is visible when login after first onboarding
  2. The identicon ring is visible during onboarding
  3. Minor cleanup

Affected areas

Onboarding

Screenshot of functionality (including design for comparison)

Screen.Recording.2023-04-30.at.14.58.24.mov

@@ -435,7 +435,9 @@ QtObject {

function isEnsVerified(publicKey) {
if (publicKey === "" || !isChatKey(publicKey) )
return
return false
if (!mainModuleInst)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the fix of identicon ring

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this may be done in one line return !mainModuleInst && mainModuleInst.isEnsVerified(publicKey) :)

@@ -407,7 +407,8 @@ method onNodeLogin*[T](self: Module[T], error: string) =
self.logoutAndDisplayError(err, StartupErrorType.UnknownType)
return
if currStateObj.flowType() != FlowType.AppLogin:
discard self.controller.storeIdentityImage()
let images = self.controller.storeIdentityImage()
self.accountsService.updateLoggedInAccount(self.getDisplayName, images)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the fix of lost profile image

@status-im-auto
Copy link
Member

status-im-auto commented Apr 30, 2023

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ f4887e3 #1 2023-04-30 12:05:07 ~4 min tests/imports 📄log
✔️ f4887e3 #1 2023-04-30 12:06:13 ~5 min tests/nim 📄log
✔️ f4887e3 #1 2023-04-30 12:08:30 ~7 min macos/aarch64 🍎dmg
✔️ f4887e3 #1 2023-04-30 12:12:05 ~11 min macos/x86_64 🍎dmg
✔️ f4887e3 #1 2023-04-30 12:16:37 ~16 min linux/x86_64 📦tgz
✔️ f4887e3 #1 2023-04-30 12:22:36 ~22 min tests/e2e 📄log
✔️ f4887e3 #1 2023-04-30 12:34:50 ~34 min windows/x86_64 💿exe

@igor-sirotin igor-sirotin requested a review from jrainville May 1, 2023 13:42
Copy link
Contributor

@borismelnik borismelnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT :)

Copy link
Member

@caybro caybro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@igor-sirotin igor-sirotin merged commit 3ff97c9 into master May 2, 2023
@igor-sirotin igor-sirotin deleted the fix/issue-10099 branch May 2, 2023 13:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Profile image is not visible on first run after onboarding
5 participants