Skip to content

Commit

Permalink
chore(ios,cardwallet): use zint for qrcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Jun 18, 2024
1 parent fab96d6 commit 2fa15bb
Show file tree
Hide file tree
Showing 5 changed files with 184 additions and 180 deletions.
2 changes: 1 addition & 1 deletion App_Resources/cardwallet/iOS/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ post_install do |installer|
config.build_settings['DEVELOPMENT_TEAM'] = '3UUB5NM43K'
config.build_settings['GCC_WARN_INHIBIT_ALL_WARNINGS'] = 'YES'
config.build_settings['OTHER_SWIFT_FLAGS'] = '-DSUPPRESS_WARNINGS'
config.build_settings['OTHER_CFLAGS'] = '-DZXING_EXPERIMENTAL_API -DWITH_QRCODE -DZXING_READERS -DZXING_WRITERS'
config.build_settings['OTHER_CFLAGS'] = '-DZXING_EXPERIMENTAL_API -DWITH_QRCODE -DZXING_READERS -DZXING_WRITERS -DZXING_USE_ZINT -DZXING_USE_BUNDLED_ZINT'
end
end
end
2 changes: 1 addition & 1 deletion app/components/qrcode/CreateBarcode.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<collectionview bind:this={collectionview} {items} row={2} rowHeight={150}>
<Template let:item>
<gridlayout rows="*,auto" on:tap={() => selectItem(item)}>
<SvgView backgroundColor="white" borderRadius={20} {item} rippleColor={colorPrimary} stretch="aspectFit" />
<SvgView backgroundColor="white" {item} rippleColor={colorPrimary} stretch="aspectFit" />
<label fontSize={24} fontWeight="bold" maxLines={2} paddingBottom={15} row={1} text={item.format} textAlignment="center" verticalAlignment="bottom" />
</gridlayout>
</Template>
Expand Down
Loading

0 comments on commit 2fa15bb

Please sign in to comment.