From 48a486f4e9e3d20aea0012ec8acd36a846cc66ea Mon Sep 17 00:00:00 2001 From: gribdesbois Date: Sun, 6 Mar 2022 22:42:38 +0100 Subject: [PATCH 1/2] fixing typo in borderRadius --- App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/App.tsx b/App.tsx index 971ca5d..88e88eb 100644 --- a/App.tsx +++ b/App.tsx @@ -144,7 +144,7 @@ export default function App() { width: 70, height: 70, bottom: 0, - borderRadius: 50, + borderRadius: '50%', backgroundColor: '#fff' }} /> From 5722aa0f336c1e8c8b4a9fd4ea19ef22981034e1 Mon Sep 17 00:00:00 2001 From: gribdesbois Date: Sun, 6 Mar 2022 23:15:56 +0100 Subject: [PATCH 2/2] now properly fixed --- App.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/App.tsx b/App.tsx index 88e88eb..5d50365 100644 --- a/App.tsx +++ b/App.tsx @@ -89,7 +89,7 @@ export default function App() { onPress={__handleFlashMode} style={{ backgroundColor: flashMode === 'off' ? '#000' : '#fff', - borderRadius: '50%', + borderRadius: 50, height: 25, width: 25 }} @@ -106,7 +106,7 @@ export default function App() { onPress={__switchCamera} style={{ marginTop: 20, - borderRadius: '50%', + borderRadius: 50, height: 25, width: 25 }} @@ -144,7 +144,7 @@ export default function App() { width: 70, height: 70, bottom: 0, - borderRadius: '50%', + borderRadius: 50, backgroundColor: '#fff' }} />