Skip to content

Commit b76e61b

Browse files
committed
prettify
1 parent 7fae91c commit b76e61b

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

source/views/calendar/event-row.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default function EventRow({
4040
onPress: () => any,
4141
}) {
4242
const title = fastGetTrimmedText(event.summary)
43-
43+
4444
const location = event.location && event.location.trim().length
4545
? <Detail style={styles.detail}>{event.location}</Detail>
4646
: null
@@ -57,7 +57,12 @@ export default function EventRow({
5757

5858
<Bar style={styles.bar} />
5959

60-
<Column flex={1} paddingTop={2} paddingBottom={3} justifyContent="space-between">
60+
<Column
61+
flex={1}
62+
paddingTop={2}
63+
paddingBottom={3}
64+
justifyContent="space-between"
65+
>
6166
<Title style={styles.title}>{title}</Title>
6267
{location}
6368
</Column>
@@ -82,7 +87,7 @@ function CalendarTimes({event, style}: {event: EventType, style: any}) {
8287
</Column>
8388
)
8489
}
85-
90+
8691
let startTime = event.startTime.format('h:mm A')
8792
let endTime = event.endTime.format('h:mm A')
8893
let midnightTime = '12:00 AM'
@@ -104,7 +109,7 @@ function CalendarTimes({event, style}: {event: EventType, style: any}) {
104109
start = event.startTime.format('h:mm A')
105110
end = event.endTime.format('h:mm A')
106111
}
107-
112+
108113
start = start === midnightTime ? 'Midnight' : start
109114
end = end === midnightTime ? 'Midnight' : end
110115

0 commit comments

Comments
 (0)