We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad1b667 commit 8a152dcCopy full SHA for 8a152dc
source/views/home/button.js
@@ -1,7 +1,7 @@
1
// @flow
2
3
import React from 'react'
4
-import {Text, StyleSheet, Platform, Dimensions} from 'react-native'
+import {Text, StyleSheet, Platform} from 'react-native'
5
import Icon from 'react-native-vector-icons/Entypo'
6
import type {ViewType} from '../views'
7
import {Touchable} from '../components/touchable'
@@ -14,12 +14,7 @@ export function HomeScreenButton({
14
view: ViewType,
15
onPress: () => any,
16
}) {
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
- }
+ const style = {backgroundColor: view.tint}
23
24
return (
25
<Touchable
0 commit comments