-
Notifications
You must be signed in to change notification settings - Fork 154
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
Changes from all commits
7f7c64b
3dab4dc
b056698
d5130f2
cf1b444
1edfa0c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
/* | ||
/** | ||
this.container.registerInstance(TOKENS.OBJECT_SCREEN_CONFIG, { | ||
...DefaultScreenOptionsDictionary, | ||
[Screens.Terms]: { | ||
|
@@ -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 commentThe 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 commentThe 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 |
||
return this._container.resolve(token) | ||
} | ||
public resolveAll<K extends keyof TokenMapping, T extends K[]>( | ||
tokens: [...T] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 commentThe 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 commentThe 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 |
||
return this._container.resolve(token) | ||
} | ||
public resolveAll<K extends keyof TokenMapping, T extends K[]>( | ||
tokens: [...T] | ||
|
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