From 8cbd18e722c6d8b8124931d489278c693d5c2c3c Mon Sep 17 00:00:00 2001 From: David Bertet Date: Thu, 21 Dec 2023 14:44:10 -0800 Subject: [PATCH] Fix barcode screen top button size --- example/src/BarcodeScreenExample.tsx | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/example/src/BarcodeScreenExample.tsx b/example/src/BarcodeScreenExample.tsx index 438bcef40..440b5c199 100644 --- a/example/src/BarcodeScreenExample.tsx +++ b/example/src/BarcodeScreenExample.tsx @@ -94,16 +94,17 @@ const BarcodeExample = ({ onBack }: { onBack: () => void }) => { {flashData.image && ( - + )} - + @@ -199,7 +200,17 @@ const styles = StyleSheet.create({ justifyContent: 'space-between', }, topButton: { - padding: 10, + backgroundColor: '#222', + width: 44, + height: 44, + borderRadius: 22, + justifyContent: 'center', + alignItems: 'center', + }, + topButtonImg: { + margin: 10, + width: 24, + height: 24, }, cameraContainer: {