From 9a9ca125d3871287d55dc1681fe1d5dc30363993 Mon Sep 17 00:00:00 2001 From: smcmurtry Date: Sun, 21 Jun 2020 17:40:26 -0600 Subject: [PATCH] added bluetooth info block back in, fixed EN off button in info block, fixed alignment on bluetooth off homescreen, removed button on bluetooth info block since we cannot navigate to the right settings screen on ios --- src/components/InfoBlock.tsx | 14 ++++++++-- .../home/views/BluetoothDisabledView.tsx | 4 +-- src/screens/home/views/OverlayView.tsx | 28 +++++++++++-------- 3 files changed, 29 insertions(+), 17 deletions(-) diff --git a/src/components/InfoBlock.tsx b/src/components/InfoBlock.tsx index 38f07e168..8a7d505cf 100644 --- a/src/components/InfoBlock.tsx +++ b/src/components/InfoBlock.tsx @@ -17,6 +17,7 @@ export interface InfoBlockProps { text: string; action: () => void; }; + showButton?: boolean; } export const InfoBlock = ({ @@ -27,6 +28,7 @@ export const InfoBlock = ({ backgroundColor, title, titleBolded, + showButton, }: InfoBlockProps) => { return ( @@ -58,9 +60,15 @@ export const InfoBlock = ({ {text} - -