From c8b2a975f47bdacd1cc255c92ffbe3906b36e7be Mon Sep 17 00:00:00 2001
From: fragosti <francesco.agosti93@gmail.com>
Date: Tue, 13 Nov 2018 14:30:27 -0800
Subject: feat: change install wallet panel content based on browser and os

---
 packages/instant/src/components/standard_panel_content.tsx | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

(limited to 'packages/instant/src/components/standard_panel_content.tsx')

diff --git a/packages/instant/src/components/standard_panel_content.tsx b/packages/instant/src/components/standard_panel_content.tsx
index 89e4da70c..582b3318e 100644
--- a/packages/instant/src/components/standard_panel_content.tsx
+++ b/packages/instant/src/components/standard_panel_content.tsx
@@ -13,7 +13,7 @@ export interface MoreInfoSettings {
 
 export interface StandardPanelContentProps {
     image: React.ReactNode;
-    title: string;
+    title?: string;
     description: string;
     moreInfoSettings?: MoreInfoSettings;
     action: React.ReactNode;
@@ -31,11 +31,13 @@ export const StandardPanelContent: React.StatelessComponent<StandardPanelContent
     <Container height="100%">
         <Flex direction="column" height="calc(100% - 58px)">
             <Container marginBottom={SPACING_BETWEEN_PX}>{image}</Container>
-            <Container marginBottom={SPACING_BETWEEN_PX}>
-                <Text fontSize="20px" fontWeight={700} fontColor={ColorOption.black}>
-                    {title}
-                </Text>
-            </Container>
+            {title && (
+                <Container marginBottom={SPACING_BETWEEN_PX}>
+                    <Text fontSize="20px" fontWeight={700} fontColor={ColorOption.black}>
+                        {title}
+                    </Text>
+                </Container>
+            )}
             <Container marginBottom={SPACING_BETWEEN_PX}>
                 <Text fontSize="14px" fontColor={ColorOption.grey} center={true}>
                     {description}
-- 
cgit v1.2.3

