Skip to content

Commit

Permalink
fix: goodid details wrong icon, chore: bump gd sdk's
Browse files Browse the repository at this point in the history
  • Loading branch information
L03TJ3 committed Oct 8, 2024
1 parent 5db3f7c commit b6d2e99
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 14 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@
"@ethersproject/wallet": "^5.7.0",
"@expo/react-native-action-sheet": "^3.9.0",
"@fingerprintjs/fingerprintjs-pro": "^3.8.1",
"@gooddollar/good-design": "0.1.58-beta.57b38532",
"@gooddollar/good-design": "0.1.58-beta.64fceb78",
"@gooddollar/goodcontracts": "^2.6.2",
"@gooddollar/goodprotocol": "^2.0.24",
"@gooddollar/react-native-facetec": "^1.0.45",
"@gooddollar/react-native-side-menu": "^2.0.2",
"@gooddollar/web3sdk-v2": "0.2.32-beta.57b38532",
"@gooddollar/web3sdk-v2": "0.2.32-beta.64fceb78",
"@hcaptcha/react-hcaptcha": "^1.6.0",
"@indexeddbshim/indexeddbshim": "^6.5.0",
"@lingui/react": "^3.13.0",
Expand Down
1 change: 1 addition & 0 deletions src/components/goodid/Claim.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ const ClaimPageWrapper = ({ screenProps, styles }) => {
const getStylesFromProps = ({ theme }) => {
return {
wrapper: {
flex: 1,
alignItems: 'center',
},
}
Expand Down
5 changes: 4 additions & 1 deletion src/components/profile/Profile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ const ProfileWrapper = ({ screenProps, styles }) => {

const logMethod = userStorage?.userProperties.get('logMethod')

const { account } = goodWallet
const isVerified = goodWallet.isVerified(account)

const { fullName } = profile

const handleAvatarPress = useCallback(() => screenProps.push(`ViewAvatar`), [screenProps])
Expand Down Expand Up @@ -85,7 +88,7 @@ const ProfileWrapper = ({ screenProps, styles }) => {
GoodID{' '}
</NText>
<GoodIdProvider>
<GoodIdDetails account={goodWallet.account} isVerified={goodWallet.isVerified} />
<GoodIdDetails {...{ isVerified, account }} />
</GoodIdProvider>
</View>
</View>
Expand Down
4 changes: 3 additions & 1 deletion src/mainApp/AppContext.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ const AppContext = ({ children }) => (
<GoodIdContextProvider>
<DialogContextProvider>
<GoodWalletProvider>
<NativeBaseProvider theme={NBTheme}>{children}</NativeBaseProvider>
<NativeBaseProvider config={{ suppressColorAccessibilityWarning: true }} theme={NBTheme}>
{children}
</NativeBaseProvider>
</GoodWalletProvider>
</DialogContextProvider>
</GoodIdContextProvider>
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6618,9 +6618,9 @@ __metadata:
languageName: node
linkType: hard

"@gooddollar/good-design@npm:0.1.58-beta.57b38532":
version: 0.1.58-beta.57b38532
resolution: "@gooddollar/good-design@npm:0.1.58-beta.57b38532"
"@gooddollar/good-design@npm:0.1.58-beta.64fceb78":
version: 0.1.58-beta.64fceb78
resolution: "@gooddollar/good-design@npm:0.1.58-beta.64fceb78"
dependencies:
"@babel/core": ^7.18.10
"@babel/runtime": ^7.18.9
Expand Down Expand Up @@ -6664,7 +6664,7 @@ __metadata:
react-use-promise: ^0.5.0
react-use-wizard: ^2.3.0
require-from-string: ^2.0.2
checksum: 74ddfa26aeb256e318ca231f25c1f89adc1be230480bb592a2b5a9943f35834ab78d1f1450a8137f8b97a11dc0dd0e919d0de3abf6a05df3af68e51ec3c781a6
checksum: 2c00b975863079910a10f25665310e19992b251a841de10bdfc3604a16693dabcfa4e925cfe2b98d94e1506dc7d742dcd6a6f04a09ef66a2daa3298f76c1d5ba
languageName: node
linkType: hard

Expand Down Expand Up @@ -6723,12 +6723,12 @@ __metadata:
"@ethersproject/wallet": ^5.7.0
"@expo/react-native-action-sheet": ^3.9.0
"@fingerprintjs/fingerprintjs-pro": ^3.8.1
"@gooddollar/good-design": 0.1.58-beta.57b38532
"@gooddollar/good-design": 0.1.58-beta.64fceb78
"@gooddollar/goodcontracts": ^2.6.2
"@gooddollar/goodprotocol": ^2.0.24
"@gooddollar/react-native-facetec": ^1.0.45
"@gooddollar/react-native-side-menu": ^2.0.2
"@gooddollar/web3sdk-v2": 0.2.32-beta.57b38532
"@gooddollar/web3sdk-v2": 0.2.32-beta.64fceb78
"@hcaptcha/react-hcaptcha": ^1.6.0
"@indexeddbshim/indexeddbshim": ^6.5.0
"@lingui/cli": ^3.13.0
Expand Down Expand Up @@ -7031,9 +7031,9 @@ __metadata:
languageName: node
linkType: hard

"@gooddollar/web3sdk-v2@npm:0.2.32-beta.57b38532":
version: 0.2.32-beta.57b38532
resolution: "@gooddollar/web3sdk-v2@npm:0.2.32-beta.57b38532"
"@gooddollar/web3sdk-v2@npm:0.2.32-beta.64fceb78":
version: 0.2.32-beta.64fceb78
resolution: "@gooddollar/web3sdk-v2@npm:0.2.32-beta.64fceb78"
dependencies:
"@amplitude/analytics-browser": ^1.6.4
"@amplitude/analytics-react-native": ^0.7.0
Expand Down Expand Up @@ -7084,7 +7084,7 @@ __metadata:
"@usedapp/core": "*"
react-native: "*"
react-native-web: "*"
checksum: d5a8ae606be43d522d9c959570712f570470c4db749ace9833ad5fa5b248cf33abee7b421bfad368d4c25c193140724e6e26e4c34eea75895ce990e1557dd834
checksum: f0b1ecece1f2d0b1d4150835111c70201d4da13570fb477b1264a45274ef2cf026f27a0ae9be2831cb96ed12413a075989ebc4ac244378faf9f54038db37244b
languageName: node
linkType: hard

Expand Down

0 comments on commit b6d2e99

Please sign in to comment.