-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix: Update header style for Webview and transactions #12783
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
base: main
Are you sure you want to change the base?
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
…to header/webview
|
|
"marginRight": 16, | ||
"marginTop": 12, | ||
} | ||
} | ||
testID="navbar-account-button" |
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.
Removed persistent style and instead let each usage handle styles according to context
marginBottom: 12, | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
}, | ||
placeholderInput: { |
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.
Removed persistent style and instead let each usage handle styles according to context
marginBottom: 12, | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
}, | ||
}); |
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.
Reapplied style for BrowserUrlBar since it does not use HeaderBase
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.
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2025-02-14.at.10.06.47.mp4
} | ||
> | ||
<NavbarTitle title={title} /> | ||
</HeaderBase> |
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.
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2025-02-13.at.17.28.34.mp4
headerTitle: () => ( | ||
<Text style={innerStyles.headerTitleStyle}>{title}</Text> | ||
header: () => ( | ||
<HeaderBase |
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.
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2025-02-13.at.16.46.24.mp4
|
|
|
Description
This PR updates the header style for Webview and transactions tab to be using the
HeaderBase
componentRelated issues
Fixes: #10664
Manual testing steps
Screenshots/Recordings
Before
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2025-02-13.at.16.48.01.mp4
After
https://github.com/user-attachments/assets/cd61ad29-565d-4566-bd82-7bb0e8b7ad0b
https://github.com/user-attachments/assets/8839ae04-a426-4ae2-9752-46c7eb0332ee
Pre-merge author checklist
Pre-merge reviewer checklist