-
Notifications
You must be signed in to change notification settings - Fork 153
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
fix: added missing back buttons to settings pages #1387
fix: added missing back buttons to settings pages #1387
Conversation
updated header for biometry, update pin, terms and push notifications screens in the settings stack Signed-off-by: al-rosenthal <[email protected]>
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.
Is this event / event emitter used anywhere else in the code base? Is there going to be any dead code because of this change that could be removed?
Signed-off-by: al-rosenthal <[email protected]>
Good call, there were two dispatch events in the |
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.
One more question / nitpick, but nice job finding and snipping out that dead code
Moved back navigation special case logic to onboarding flow and left back navigation apart of the default screen options Signed-off-by: al-rosenthal <[email protected]>
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.
Just a couple questions, functional code changes look great
@@ -51,7 +51,7 @@ export class AppContainer implements Container { | |||
} | |||
|
|||
public resolve<K extends keyof TokenMapping>(token: K): TokenMapping[K] { | |||
return this._container.resolve(token) as TokenMapping[K] |
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.
Why this change? It seems unrelated
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.
I've got a sonar cube plugin and flagged the casting as unnecessary
@@ -23,7 +23,7 @@ export class AppContainer implements Container { | |||
|
|||
//This is an example of how to customize the screen layout and use custom header for wallets who wnat to hide default navigation header | |||
//To hide navigation header for a specific page, use headerShown: false in the screen options like this | |||
/* | |||
/** |
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.
Why this change? Left over from when you were thinking of moving this commented example?
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.
I decided to leave the comment where it is as it doesn't make much sense in the default config either. My sonar cube plugin also flags this to be deleted but with /**
it treats it as more than just a code block
@@ -207,7 +207,7 @@ export class MainContainer implements Container { | |||
} | |||
|
|||
public resolve<K extends keyof TokenMapping>(token: K): TokenMapping[K] { | |||
return this._container.resolve(token) as TokenMapping[K] |
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.
Same as above
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.
I've got a sonar cube plugin and flagged the casting as unnecessary
Quality Gate passedIssues Measures |
Summary of Changes
updated header for biometry, update pin, terms and push notifications screens in the settings stack
Screenshots, videos, or gifs
n/a
Breaking change guide
n/a
Related Issues
BC Wallet: 2338
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.
Signed-off-by
line (we use the DCO GitHub app to enforce this)If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓