-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "59 display wal lib transactions (#60)"
This reverts commit f979097.
Showing
29 changed files
with
233 additions
and
429 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+1.26 MB
(380%)
android/app/src/main/res/drawable-hdpi/splashscreen_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.26 MB
(380%)
android/app/src/main/res/drawable-mdpi/splashscreen_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.26 MB
(380%)
android/app/src/main/res/drawable-xhdpi/splashscreen_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.26 MB
(380%)
android/app/src/main/res/drawable-xxhdpi/splashscreen_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.26 MB
(380%)
android/app/src/main/res/drawable-xxxhdpi/splashscreen_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,90 +1,83 @@ | ||
import React, { useEffect, useState } from 'react'; | ||
import { | ||
Animated, | ||
Button, | ||
FlatList, | ||
Image, | ||
Text, | ||
Pressable, | ||
SafeAreaView, | ||
StyleSheet, | ||
View, | ||
} from 'react-native'; | ||
import { useTheme } from '@react-navigation/native'; | ||
import {Picker} from '@react-native-picker/picker'; | ||
import { useCardAnimation } from '@react-navigation/stack'; | ||
import React, {useState} from 'react'; | ||
// import {withNavigation} from "react-navigation"; | ||
import {TouchableOpacity, TextInput, View, Text} from 'react-native'; | ||
import {HOME_SCREEN, RELATIONSHIPS_SCREEN} from "../constants/navigationConstants"; | ||
import styles from '../styles/styles' | ||
import {SimpleLineIcons} from '@expo/vector-icons' | ||
// const { PrismModule } = NativeModules; | ||
|
||
import {logger} from '../logging'; | ||
import { Divider, IconButton, List, Title,ToggleButton } from 'react-native-paper'; | ||
import styles from "../styles/styles"; | ||
const Settings = ({navigation}) => { | ||
console.log(`> Settings screen`); | ||
const [tmpName, setTmpName] = useState('') | ||
const [walletName, setWalletName] = useState('') | ||
const [tmpPwd, setTmpPwd] = useState('') | ||
const [walletPwd, setWalletPwd] = useState('') | ||
|
||
import * as roots from '../roots' | ||
const endEditing = () =>{ | ||
console.log('> endEditing()') | ||
setWalletName(tmpName) | ||
setWalletPwd(tmpPwd) | ||
navigation.navigate( | ||
RELATIONSHIPS_SCREEN, | ||
{walletName: tmpName} | ||
) | ||
} | ||
|
||
import IconActions from '../components/IconActions'; | ||
return ( | ||
<View> | ||
|
||
export default function RelationshipDetailScreen({ route, navigation }) { | ||
const [host, setHost] = useState(roots.getPrismHost()); | ||
const { colors } = useTheme(); | ||
const { current } = useCardAnimation(); | ||
<Text style={styles.header}>Enter Wallet Name: {tmpName}</Text> | ||
<View style={styles.walletInputStyle}> | ||
<SimpleLineIcons | ||
name="wallet" | ||
style={styles.walletIconStyle} | ||
/> | ||
<TextInput | ||
style={styles.inputStyle} | ||
onChangeText={(val) => setTmpName(val)} | ||
onEndEditing={endEditing} | ||
placeholder='Wallet Name' | ||
/> | ||
</View> | ||
|
||
useEffect(() => { | ||
roots.setPrismHost(host) | ||
}, [host]); | ||
|
||
return ( | ||
<View | ||
style={{ | ||
flex: 1, | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
}} | ||
> | ||
<Pressable | ||
style={[ | ||
StyleSheet.absoluteFill, | ||
{ backgroundColor: 'rgba(0, 0, 0, 0.5)' }, | ||
]} | ||
onPress={navigation.goBack} | ||
/> | ||
<Animated.View | ||
style={{ | ||
alignItems: 'center', | ||
padding: 16, | ||
width: '90%', | ||
borderRadius: 3, | ||
backgroundColor: "#bfafba", | ||
justifyContent: 'center', | ||
transform: [ | ||
{ | ||
scale: current.progress.interpolate({ | ||
inputRange: [0, 1], | ||
outputRange: [0.9, 1], | ||
extrapolate: 'clamp', | ||
}), | ||
}, | ||
], | ||
}} | ||
> | ||
<IconButton | ||
icon="close-circle" | ||
size={36} | ||
color="#5b3a70" | ||
onPress={() => navigation.goBack()} | ||
/> | ||
<Text style={{fontSize: 18}}>Select Prism Node:</Text> | ||
<View style={{backgroundColor: '#251520',width: "20%"}}> | ||
<Picker | ||
style={styles.clickableListTitle} | ||
mode="dropdown" | ||
dropdownIconColor="#e69138" | ||
numberOfLines={5} | ||
selectedValue={host} | ||
onValueChange={(itemValue) => setHost(itemValue)}> | ||
<Picker.Item label="Prism Test Net" value="ppp.atalaprism.io"/> | ||
<Picker.Item label="Local Dev" value="ppp-node-test.atalaprism.io"/> | ||
</Picker> | ||
|
||
<Text style={styles.header}>Enter Password</Text> | ||
<View style={styles.walletInputStyle}> | ||
<TextInput | ||
style={styles.inputStyle} | ||
onChangeText={(val) => setTmpPwd(val)} | ||
onEndEditing={endEditing} | ||
placeholder='Wallet Password' | ||
/> | ||
</View> | ||
<View style={styles.button}> | ||
<TouchableOpacity | ||
color='gold' | ||
style={styles.button} | ||
onPress={()=>{ | ||
console.log('in onPress handler...') | ||
setWalletName(tmpName) | ||
setWalletPwd(tmpPwd) | ||
navigation.navigate( | ||
RELATIONSHIPS_SCREEN, | ||
{walletName: tmpName}) | ||
} | ||
} | ||
> | ||
<Text style={styles.buttonText}>Create Wallet</Text> | ||
</TouchableOpacity> | ||
</View> | ||
|
||
|
||
|
||
<Text>Final Name: {walletName}</Text> | ||
</View> | ||
</Animated.View> | ||
</View> | ||
); | ||
} | ||
|
||
|
||
|
||
); | ||
}; | ||
|
||
// export default withNavigation(Settings) | ||
export default Settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters