Skip to content

Commit

Permalink
fix(native-app): don't show photo for driving license unless feature …
Browse files Browse the repository at this point in the history
…flag is on (#14777)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
thoreyjona and kodiakhq[bot] authored May 14, 2024
1 parent 1a229b9 commit ee61ab5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/native/app/src/screens/wallet-pass/wallet-pass.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ export const WalletPassScreen: NavigationFunctionComponent<{
nativeID={`license-${licenseType}_destination`}
type={licenseType}
logo={
isBarcodeEnabled &&
data?.license?.type === GenericLicenseType.DriversLicense
? getImageFromRawData(data?.payload?.rawData)
: undefined
Expand Down

0 comments on commit ee61ab5

Please sign in to comment.