Skip to content

Commit fb0e6f0

Browse files
committed
use constants for margins
1 parent 6b25479 commit fb0e6f0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/views/home/notice.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import * as React from 'react'
44
import * as glamorous from 'glamorous-native'
55
import * as c from '../components/colors'
66
import sample from 'lodash/sample'
7+
import {CELL_MARGIN} from './button'
78

89
const messages = [
910
'☃️ An Unofficial App Project ☃️',
@@ -19,8 +20,8 @@ export function UnofficialAppNotice() {
1920
return (
2021
<glamorous.View
2122
justifyContent="center"
22-
marginBottom={10}
23-
marginHorizontal={10}
23+
marginBottom={CELL_MARGIN}
24+
marginHorizontal={CELL_MARGIN}
2425
>
2526
<glamorous.View backgroundColor="rgba(0,0,0,0.05)" borderRadius={7}>
2627
<glamorous.Text color={c.black25Percent} padding={8} textAlign="center">

0 commit comments

Comments
 (0)