Skip to content

Commit 8a152dc

Browse files
authored
Remove unused import from button.js
1 parent ad1b667 commit 8a152dc

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

source/views/home/button.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @flow
22

33
import React from 'react'
4-
import {Text, StyleSheet, Platform, Dimensions} from 'react-native'
4+
import {Text, StyleSheet, Platform} from 'react-native'
55
import Icon from 'react-native-vector-icons/Entypo'
66
import type {ViewType} from '../views'
77
import {Touchable} from '../components/touchable'
@@ -14,12 +14,7 @@ export function HomeScreenButton({
1414
view: ViewType,
1515
onPress: () => any,
1616
}) {
17-
// const screenWidth = Dimensions.get('window').width
18-
const style = {
19-
// width: screenWidth / 2 - CELL_MARGIN * 1.5,
20-
// flex: 1,
21-
backgroundColor: view.tint,
22-
}
17+
const style = {backgroundColor: view.tint}
2318

2419
return (
2520
<Touchable

0 commit comments

Comments
 (0)