Skip to content

Commit

Permalink
fix not found text glitchy move
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Feb 21, 2024
1 parent 6989089 commit 2aedbc2
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/components/BlockingViews/BlockingView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,15 @@ function BlockingView({
width={iconWidth}
height={iconHeight}
/>
<Text style={[styles.notFoundTextHeader]}>{title}</Text>
<View>
<Text style={[styles.notFoundTextHeader]}>{title}</Text>

{shouldEmbedLinkWithSubtitle ? (
<Text style={[styles.textAlignCenter]}>{renderContent()}</Text>
) : (
<View style={[styles.alignItemsCenter, styles.justifyContentCenter]}>{renderContent()}</View>
)}
{shouldEmbedLinkWithSubtitle ? (
<Text style={[styles.textAlignCenter]}>{renderContent()}</Text>
) : (
<View style={[styles.alignItemsCenter, styles.justifyContentCenter]}>{renderContent()}</View>
)}
</View>
</View>
);
}
Expand Down

0 comments on commit 2aedbc2

Please sign in to comment.