Skip to content

Instantly share code, notes, and snippets.

render (): React$Element<Object> {
let {user, kid, goal, balance} = this.props
let currentLevel = this.getCurrentLevel()
if (!goal) return this.renderEmptyState()
let pipes = this.getPipes(goal, kid, user, currentLevel, this.getLevelToClimbTo())
return <View style={{flex: 1}}>
<ColorFix color={colors.stratos} />
<ColorFix isBottom color={colors.fiftyShades} />
<Animated.ScrollView ref={this.setScrollRef} onScroll={this.onScroll} scrollEventThrottle={16} contentContainerStyle={styles.scrollContainer} style={styles.container}>
<LinearGradient style={styles.backgroundImageView} colors={[colors.stratos, colors.stratos, colors.kingfisherDaisy]}>
@equinoxel
equinoxel / .gitignore
Created January 30, 2016 01:29 — forked from keyboardsurfer/.gitignore
Android gitignore
# Copyright: Benjamin Weiss (keyboardsurfer) https://github.com/keyboardsurfer
# Under CC-BY-SA V3.0 (https://creativecommons.org/licenses/by-sa/3.0/legalcode)
# built application files
*.apk
*.ap_
*.jar
!gradle/wrapper/gradle-wrapper.jar
# lint folder