Skip to content

Commit

Permalink
add source code button (last commit for 22w28c)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderEpolite committed Jul 15, 2022
1 parent 601e492 commit 6c81567
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 0 additions & 1 deletion screens/EmailScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {Dimensions, FlatList, Pressable, StyleSheet} from 'react-native';

import {Text, View} from '../components/Themed';
import {RootTabScreenProps} from '../types';
import CoolStorage from "../util/CoolStorage";
import {useState} from "react";
import {Email} from "tempmail.lol";
Expand Down
9 changes: 7 additions & 2 deletions screens/TabTwoScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import {Button, StyleSheet} from 'react-native';
import {Button, Linking, StyleSheet} from 'react-native';

import {Text, View} from '../components/Themed';
import {StatusBar} from "expo-status-bar";

function openSource() {
const url = "https://github.com/tempmail-lol/app";
Linking.openURL(url);
}

export default function TabTwoScreen() {

//ScrapeProof:tm:
Expand All @@ -11,7 +16,7 @@ export default function TabTwoScreen() {
return (
<View style={styles.container}>
<StatusBar style="light" />
<Button title={"Source Code"} />
<Button title={"Source Code"} onPress={openSource}/>
<Text>AnonyMail Mobile App Beta</Text>
<Text>Thank you for testing! Please email {email} for feedback.</Text>
</View>
Expand Down

0 comments on commit 6c81567

Please sign in to comment.