forked from cerc-io/laconic-wallet
Put reset button at the bottom (#15)
* Put reset button at the bottom * Review changes --------- Co-authored-by: Adw8 <adwait@deepstacksoft.com>
This commit is contained in:
parent
09a3b9fc75
commit
a158abac0b
8
App.tsx
8
App.tsx
@ -14,7 +14,13 @@ const App = (): React.JSX.Element => {
|
|||||||
return (
|
return (
|
||||||
<NavigationContainer>
|
<NavigationContainer>
|
||||||
<Stack.Navigator>
|
<Stack.Navigator>
|
||||||
<Stack.Screen name="Laconic" component={HomeScreen} />
|
<Stack.Screen
|
||||||
|
name="Laconic"
|
||||||
|
component={HomeScreen}
|
||||||
|
options={{
|
||||||
|
title: 'Laconic Wallet',
|
||||||
|
}}
|
||||||
|
/>
|
||||||
<Stack.Screen
|
<Stack.Screen
|
||||||
name="SignMessage"
|
name="SignMessage"
|
||||||
component={SignMessage}
|
component={SignMessage}
|
||||||
|
@ -97,35 +97,27 @@ const HomeScreen = () => {
|
|||||||
{currentAccount && currentAccount.pubKey}
|
{currentAccount && currentAccount.pubKey}
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
|
<View style={{ alignItems: 'center', marginTop: 30 }}>
|
||||||
<View style={{ flexDirection: 'row', justifyContent: 'center' }}>
|
<Button
|
||||||
<View
|
mode="contained"
|
||||||
style={{
|
onPress={() => {
|
||||||
marginTop: 20,
|
navigation.navigate('SignMessage', {
|
||||||
marginRight: 10,
|
selectedNetwork: network,
|
||||||
width: 150,
|
});
|
||||||
alignSelf: 'center',
|
|
||||||
}}>
|
}}>
|
||||||
<Button
|
Sign Message
|
||||||
mode="contained"
|
</Button>
|
||||||
onPress={() => {
|
</View>
|
||||||
navigation.navigate('SignMessage', {
|
|
||||||
selectedNetwork: network,
|
<View style={{ marginTop: 400, alignSelf: 'center' }}>
|
||||||
});
|
<Button
|
||||||
}}>
|
mode="contained"
|
||||||
Sign Message
|
buttonColor="#B82B0D"
|
||||||
</Button>
|
onPress={async () => {
|
||||||
</View>
|
setResetWalletDialog(true);
|
||||||
<View style={{ marginTop: 20, width: 150, alignSelf: 'center' }}>
|
}}>
|
||||||
<Button
|
Reset Wallet
|
||||||
mode="contained"
|
</Button>
|
||||||
buttonColor="#B82B0D"
|
|
||||||
onPress={async () => {
|
|
||||||
setResetWalletDialog(true);
|
|
||||||
}}>
|
|
||||||
Reset Wallet
|
|
||||||
</Button>
|
|
||||||
</View>
|
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
) : (
|
) : (
|
||||||
|
Loading…
Reference in New Issue
Block a user