-
Notifications
You must be signed in to change notification settings - Fork 27
fix: fontWeight and fullWidth for Wallet manager screen #1473
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
Changes from 1 commit
a6b43f5
723a482
3ee9c46
a9b4492
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 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -18,6 +18,12 @@ import { LegacyTertiaryBox } from "../boxes/LegacyTertiaryBox"; | |||||||||
| import { PrimaryButton } from "../buttons/PrimaryButton"; | ||||||||||
|
|
||||||||||
| import { useAppNavigation } from "@/hooks/navigation/useAppNavigation"; | ||||||||||
| import { | ||||||||||
| fontRegular12, | ||||||||||
| fontRegular13, | ||||||||||
| fontRegular16, | ||||||||||
| fontRegular20, | ||||||||||
| } from "@/utils/style/fonts"; | ||||||||||
|
|
||||||||||
| interface WalletDashboardHeaderProps { | ||||||||||
| title: string; | ||||||||||
|
|
@@ -56,20 +62,8 @@ const WalletDashboardHeaderCard: React.FC<WalletDashboardHeaderProps> = ({ | |||||||||
| position: "relative", | ||||||||||
| }} | ||||||||||
| > | ||||||||||
| <BrandText | ||||||||||
| style={{ | ||||||||||
| fontSize: 12, | ||||||||||
| }} | ||||||||||
| > | ||||||||||
| {title} | ||||||||||
| </BrandText> | ||||||||||
| <BrandText | ||||||||||
| style={{ | ||||||||||
| fontSize: 16, | ||||||||||
| }} | ||||||||||
| > | ||||||||||
| {data} | ||||||||||
| </BrandText> | ||||||||||
| <BrandText style={[fontRegular12]}>{title}</BrandText> | ||||||||||
| <BrandText style={[fontRegular16]}>{data}</BrandText> | ||||||||||
|
||||||||||
| <BrandText style={[fontRegular12]}>{title}</BrandText> | |
| <BrandText style={[fontRegular16]}>{data}</BrandText> | |
| <BrandText style={fontRegular12}>{title}</BrandText> | |
| <BrandText style={fontRegular16}>{data}</BrandText> |
|
Collaborator
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. StyleSheet usage in this file (pretty big) |
|
Collaborator
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. StyleSheet usage in this file |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -18,7 +18,11 @@ import { | |||||
| keplrCurrencyFromNativeCurrencyInfo, | ||||||
| } from "../../networks"; | ||||||
| import { neutral77, primaryColor } from "../../utils/style/colors"; | ||||||
| import { fontSemibold13, fontSemibold14 } from "../../utils/style/fonts"; | ||||||
| import { | ||||||
| fontRegular13, | ||||||
| fontRegular14, | ||||||
| fontRegular16, | ||||||
| } from "../../utils/style/fonts"; | ||||||
| import { layout } from "../../utils/style/layout"; | ||||||
| import { capitalize, tinyAddress } from "../../utils/text"; | ||||||
| import { BrandText } from "../BrandText"; | ||||||
|
|
@@ -83,7 +87,7 @@ export const DepositWithdrawModal: React.FC<DepositModalProps> = ({ | |||||
| <View style={styles.rowCenter}> | ||||||
| <NetworkIcon networkId={networkId} size={32} /> | ||||||
| <SpacerRow size={3} /> | ||||||
| <BrandText> | ||||||
| <BrandText style={[fontRegular16]}> | ||||||
|
||||||
| <BrandText style={[fontRegular16]}> | |
| <BrandText style={fontRegular16}> |
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.
Please remove StyleSheet usages when you see that in your changed files