Skip to content

Commit ac8028b

Browse files
committed
Run prettier with new changes
Signed-off-by: Kristofer Rye <[email protected]>
1 parent 6227a32 commit ac8028b

File tree

7 files changed

+18
-16
lines changed

7 files changed

+18
-16
lines changed

modules/constants/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export const userAgent: () => string = () => {
5555
Platform.OS === 'ios'
5656
? 'iOS'
5757
: Platform.OS === 'android'
58-
? 'Android'
59-
: 'unknown'
58+
? 'Android'
59+
: 'unknown'
6060

6161
const platformVersion = Platform.Version || 'unknown'
6262

modules/navigation-tabs/tabbar-icon.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ type Props = {
1919

2020
export const IosIcon =
2121
(icon: keyof typeof IoniconsGlyphs) =>
22-
({color}: Props): JSX.Element =>
22+
({color}: Props): JSX.Element => (
2323
<Ionicon name={icon} style={[styles.icon, {color: color}]} />
24+
)
2425

2526
export const MaterialIcon =
2627
(icon: keyof typeof MaterialCommunityIconsGlyphs) =>
27-
({color}: Props): JSX.Element =>
28+
({color}: Props): JSX.Element => (
2829
<MaterialCommunityIcon name={icon} style={[{color: color}]} />
30+
)

source/views/directory/helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ const descriptionText = (
6363
shortRoom && item.title
6464
? `${shortRoom}${item.title}`
6565
: shortRoom
66-
? shortRoom
67-
: item.title
66+
? shortRoom
67+
: item.title
6868

6969
return description && decode(description)
7070
}

source/views/settings/screens/overview/component-library/colors.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,8 @@ function VariantColorsExample() {
300300
Platform.OS === 'ios'
301301
? DynamicColorIOS({light: 'red', dark: 'blue'})
302302
: Platform.OS === 'android'
303-
? PlatformColor('?attr/colorAccent')
304-
: 'red',
303+
? PlatformColor('?attr/colorAccent')
304+
: 'red',
305305
}}
306306
/>
307307
</View>

source/views/sis/course-search/results.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ export const CourseSearchResultsView = (): JSX.Element => {
221221
let message = hasActiveFilter
222222
? 'There were no courses that matched your selected filters. Try a different filter combination.'
223223
: query?.length
224-
? 'There were no courses that matched your query. Please try again.'
225-
: "You can search by Professor (e.g. 'Jill Dietz'), Course Name (e.g. 'Abstract Algebra'), Department/Number (e.g. MATH 252), or GE (e.g. WRI)"
224+
? 'There were no courses that matched your query. Please try again.'
225+
: "You can search by Professor (e.g. 'Jill Dietz'), Course Name (e.g. 'Abstract Algebra'), Department/Number (e.g. MATH 252), or GE (e.g. WRI)"
226226

227227
let messageView = <NoticeView style={styles.message} text={message} />
228228

source/views/stoprint/print-release.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,10 @@ export const PrintJobReleaseView = (): JSX.Element => {
179179
let status = releaseJob.isLoading
180180
? 'printing'
181181
: cancelJob.isLoading
182-
? 'cancelling'
183-
: job?.statusFormatted === 'Pending Release'
184-
? 'pending'
185-
: 'complete'
182+
? 'cancelling'
183+
: job?.statusFormatted === 'Pending Release'
184+
? 'pending'
185+
: 'complete'
186186

187187
let actionAvailable = status !== 'complete' && printer
188188

source/views/streaming/webcams/thumbnail.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ export const StreamThumbnail = (props: Props): JSX.Element => {
3232
let img = thumbnailUrl
3333
? {uri: thumbnailUrl}
3434
: webcamImages.has(thumbnail)
35-
? webcamImages.get(thumbnail)
36-
: transparentPixel
35+
? webcamImages.get(thumbnail)
36+
: transparentPixel
3737

3838
return (
3939
// do not remove this View; it is needed to prevent extra highlighting

0 commit comments

Comments
 (0)