Skip to content

Commit 543a2f7

Browse files
committed
prettify
1 parent 65be306 commit 543a2f7

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

source/navigation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const styles = StyleSheet.create({
5555
backgroundColor: Platform.select({
5656
ios: c.iosLightBackground,
5757
android: c.androidLightBackground,
58-
})
58+
}),
5959
},
6060
})
6161

source/views/components/colors.js

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,14 @@ export const stoText = {
244244

245245
export const accent = sto.purple
246246

247-
export const navigationBackground = Platform.select({ios: sto.white, android: sto.white})
248-
export const navigationForeground = Platform.select({ios: accent, android: accent})
247+
export const navigationBackground = Platform.select({
248+
ios: sto.white,
249+
android: sto.white,
250+
})
251+
export const navigationForeground = Platform.select({
252+
ios: accent,
253+
android: accent,
254+
})
249255

250256
export const toolbarButtonBackground = accent
251257
export const toolbarButtonForeground = sto.white
@@ -259,4 +265,7 @@ export const androidTabBarForeground = accent
259265
export const iosTabBarActiveColor = accent
260266

261267
export const androidStatusBarColor = darken(0.2, sto.white)
262-
export const statusBarStyle = Platform.select({ios: 'dark-content', android: 'dark-content'})
268+
export const statusBarStyle = Platform.select({
269+
ios: 'dark-content',
270+
android: 'dark-content',
271+
})

source/views/home/home.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ function HomePage({navigation, order, inactiveViews, views = allViews}: Props) {
4343
showsHorizontalScrollIndicator={false}
4444
showsVerticalScrollIndicator={false}
4545
>
46-
<StatusBar backgroundColor={c.androidStatusBarColor} barStyle={c.statusBarStyle} />
46+
<StatusBar
47+
backgroundColor={c.androidStatusBarColor}
48+
barStyle={c.statusBarStyle}
49+
/>
4750

4851
<View style={styles.cells}>
4952
{columns.map((contents, i) => (

0 commit comments

Comments
 (0)