Skip to content

Commit

Permalink
Fix the length of the part name for midweek congregation
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtavor committed Dec 12, 2024
1 parent 89e764f commit a2ac869
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/views/meetings/midweek/S140/app_normal/S140Source.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ const S140Source = ({
return (
<View style={styles.sourceContainer}>
{source && (
<View style={styles.sourceTextContainer}>
<Text style={{ ...styles.sourceText, color }}>{source}</Text>
{duration && <Text style={styles.sourceDuration}>({duration})</Text>}
<View style={(styles.sourceTextContainer, { maxWidth: 350 })}>
<Text style={{ ...styles.sourceText, color }}>
{source}{' '}
{duration && (
<Text style={styles.sourceDuration}>({duration})</Text>
)}
</Text>
</View>
)}

Expand Down

0 comments on commit a2ac869

Please sign in to comment.