Skip to content

Commit

Permalink
Added condition to prevent the donate link from displaying on Android…
Browse files Browse the repository at this point in the history
… in Settings.
  • Loading branch information
coreyphillips committed Mar 25, 2020
1 parent c07ba99 commit 1880b2c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1134,14 +1134,15 @@ class Settings extends PureComponent {
valueStyle={{ fontSize: 14, textAlign: "center", fontWeight: "bold" }}
col2Style={{ flex: 1.2, alignItems: "center", justifyContent: "center", textAlign: "center" }}
/>


{Platform.OS === "ios" &&
<SettingGeneral
value={`Found this app useful?\nPlease consider donating`}
col1Image={<FontAwesome5 name="coins" size={40} />}
onPress={this.donate}
valueStyle={{ fontSize: 16, textAlign: "center", fontWeight: "bold" }}
col2Style={{ flex: 1.2, alignItems: "center", justifyContent: "center", textAlign: "center" }}
/>
/>}

<View style={{ paddingVertical: 70 }} />
</TouchableOpacity>
Expand Down

0 comments on commit 1880b2c

Please sign in to comment.