Skip to content

Commit

Permalink
fix: 馃悰 Sm氓fixar i schemat
Browse files Browse the repository at this point in the history
  • Loading branch information
kajetan-kazimierczak committed Sep 16, 2021
1 parent b7a732d commit 2c770c0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/app/components/week.component.tsx
Expand Up @@ -63,12 +63,11 @@ const LessonList = ({ lessons, header, lunch }: LessonListProps) => {
<Text
style={styles.lessonDescription}
maxFontSizeMultiplier={1}
>{`${timeStart.slice(0, 5)}-${timeEnd.slice(
0,
5
)} (${location})`}</Text>
>{`${timeStart.slice(0, 5)}-${timeEnd.slice(0, 5)} ${
location === '' ? '' : '(' + location + ')'
} `}</Text>
<Text style={styles.lessonDescription} maxFontSizeMultiplier={1}>
{code === 'Lunch' ? lunch?.description : teacher}
{code?.toUpperCase() === 'LUNCH' ? lunch?.description : teacher}
</Text>
</View>
)}
Expand Down

0 comments on commit 2c770c0

Please sign in to comment.