Skip to content

Commit

Permalink
Removed the donation link for Android devices in Settings.js.
Browse files Browse the repository at this point in the history
Removed "Donate" from the walletHelpItems array in Settings.js.
  • Loading branch information
coreyphillips committed Mar 25, 2020
1 parent 441d4f6 commit c07ba99
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/components/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,6 @@ const walletHelpItems = [
{
title: "Support:",
text: "Tapping this will prompt you to send an email to support. Please utilize this option and reach out if you have any questions whatsoever."
},
{
title: "Donate:",
text: `Tapping this will redirect you to the "Send Transaction" view with a pre-filled address to donate to. I built this app to learn and have fun. I never intend to monetize or turn a profit on this app so if you found it useful please consider donating.`
}
];

Expand Down Expand Up @@ -1252,6 +1248,13 @@ class Settings extends PureComponent {
<Text type="text2" style={styles.helpText}>{text}</Text>
</View>
))}
{Platform.OS === "ios" &&
<View style={styles.helpRow}>
<Text type="text2" style={styles.helpTitle}>Donate:</Text>
<Text type="text2" style={styles.helpText}>
Tapping this will redirect you to the "Send Transaction" view with a pre-filled address to donate to. I built this app to learn and have fun. I never intend to monetize or turn a profit on this app so if you found it useful please consider donating.
</Text>
</View>}
<View style={{ paddingVertical: "40%" }} />
</DefaultModal>

Expand Down

0 comments on commit c07ba99

Please sign in to comment.