Skip to content
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

Feat/inject header right #18

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Feat/inject header right #18

wants to merge 10 commits into from

Conversation

ClaudeArs
Copy link

Summary of Changes

Replace this text with a high-level summary of the changes included in this PR.

Related Issues

Please reference here any issue #'s that are relevant to this PR, or simply enter "N/A" if this PR does not relate to any existing issues.

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.

  • All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this);
  • Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
  • Updated documentation as needed for changed code and new or modified features;
  • Added sufficient tests so that overall code coverage is not reduced.

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 🤓

  • Read our contribution guide at least once; it will save you a few review cycles!
  • Your PR will likely not be reviewed until all the above boxes are checked and all automated tests have passed.

PR template adapted from the Python attrs project.

const defaultStackOptions = useDefaultStackOptions(theme)
const [Options] = useServices([TOKENS.COMPONENT_OPTIONS])

Choose a reason for hiding this comment

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

renommer Options par stackOptions


const HomeStack: React.FC = () => {
const Stack = createStackNavigator<HomeStackParams>()
const theme = useTheme()
const { t } = useTranslation()
const [store] = useStore()
const defaultStackOptions = useDefaultStackOptions(theme)
const [Options] = useServices([TOKENS.COMPONENT_OPTIONS])

Choose a reason for hiding this comment

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

Idem pour renommer

proofDetailsStackOptions: { headerRight: HeaderRightHome },
proofReqUsageHistoryStackOptions: { headerRight: HeaderRightHome },
credentialsStackOptions: { headerLeft: SettingsMenu },
globalConnectionStackOptions: { headerRight: HeaderRightHome, headerLeft: () => null },

Choose a reason for hiding this comment

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

Pourquoi mettre le headerLeft à () => null ? Peut-être juste le retirer serait correct.

Copy link
Author

Choose a reason for hiding this comment

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

Il était comme ça au départ dans la stack, je me suis dit qu'il y avait probablement une raison

Copy link

@fc-santos fc-santos left a comment

Choose a reason for hiding this comment

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

Voir les commentaires

ClaudeArs and others added 4 commits November 15, 2024 10:45
Signed-off-by: Claude Arseneault <[email protected]>
Signed-off-by: Claude Arseneault <[email protected]>
Signed-off-by: Claude Arseneault <[email protected]>
Signed-off-by: fc-santos <[email protected]>
@ClaudeArs ClaudeArs requested a review from fc-santos November 15, 2024 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants