Skip to content

Commit

Permalink
Merge pull request #544 from lifeomic/fix-android-not-wrapping
Browse files Browse the repository at this point in the history
fix: Android markdown text not wrapping
  • Loading branch information
bruce-glazier authored Mar 29, 2024
2 parents 6bdd969 + 21cff57 commit 333e750
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/screens/ConsentScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React, { useCallback, useEffect, useMemo } from 'react';
import { View, ScrollView, Text, Alert } from 'react-native';
import { View, ScrollView, Alert } from 'react-native';
import { Text } from 'react-native-paper';
import { t } from 'i18next';
import Markdown from 'react-native-markdown-display';
import { Button } from 'react-native-paper';
Expand Down Expand Up @@ -180,9 +181,7 @@ export const ConsentScreen = ({
<View style={styles.view}>
<ScrollView style={styles.scrollView}>
<View style={styles.consentTextContainer}>
<Text>
<Markdown>{consentText}</Markdown>
</Text>
<Markdown>{consentText}</Markdown>
</View>
</ScrollView>
<View style={styles.buttonsContainer}>
Expand Down

0 comments on commit 333e750

Please sign in to comment.