Skip to content

Commit

Permalink
Merge pull request #44 from language-transfer/remove-all-links-to-web…
Browse files Browse the repository at this point in the history
…site

Remove all direct links to languagetransfer.org
  • Loading branch information
SyntaxBlitz committed Aug 13, 2021
2 parents a8bbb30 + 91868d4 commit e2c11af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 47 deletions.
28 changes: 1 addition & 27 deletions js/components/About/About.react.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,7 @@ const About = () => {
will take care of itself!
</Text>

{donationLinksNotAllowedBecauseGooglePlayIsAStinkyPooPoo ? (
<>
<Text style={[styles.bodyText, styles.bodyTextAboveButton]}>
Language Transfer is a unique project in more ways than one.
Learn more about Language Transfer here:
</Text>
</>
) : (
{donationLinksNotAllowedBecauseGooglePlayIsAStinkyPooPoo ? null : (
<>
<Text style={styles.bodyText}>
Language Transfer is totally free, developed by Mihalis
Expand Down Expand Up @@ -132,25 +125,6 @@ const About = () => {
</>
)}

<View style={styles.additionalButton}>
<TouchableNativeFeedback
onPress={() => {
log({
action: 'visit_website',
surface: 'about',
});
Linking.openURL('https://www.languagetransfer.org/about');
}}
useForeground={true}>
<View style={styles.additionalButtonInner}>
<Text style={styles.additionalButtonText}>
Visit languagetransfer.org
</Text>
<Icon name="link" type="font-awesome-5" />
</View>
</TouchableNativeFeedback>
</View>

<View style={styles.additionalButton}>
<TouchableNativeFeedback
onPress={() => {
Expand Down
21 changes: 1 addition & 20 deletions js/components/LanguageHome/LanguageHome.react.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,26 +108,7 @@ const LanguageHomeBody = ({route}: {route: any}) => {
</TouchableNativeFeedback>
</View>

{donationLinksNotAllowedBecauseGooglePlayIsAStinkyPooPoo ? (
<View style={styles.additionalButton}>
<TouchableNativeFeedback
onPress={() => {
log({
action: 'visit_website',
surface: 'language_home',
});
Linking.openURL('https://www.languagetransfer.org/');
}}
useForeground={true}>
<View style={styles.additionalButtonInner}>
<Text style={styles.additionalButtonText}>
Visit languagetransfer.org
</Text>
<Icon name="link" type="font-awesome-5" />
</View>
</TouchableNativeFeedback>
</View>
) : (
{donationLinksNotAllowedBecauseGooglePlayIsAStinkyPooPoo ? null : (
<View style={styles.additionalButton}>
<TouchableNativeFeedback
onPress={() => {
Expand Down

0 comments on commit e2c11af

Please sign in to comment.