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 (
|
||||
<NavigationContainer>
|
||||
<Stack.Navigator>
|
||||
<Stack.Screen name="Laconic" component={HomeScreen} />
|
||||
<Stack.Screen
|
||||
name="Laconic"
|
||||
component={HomeScreen}
|
||||
options={{
|
||||
title: 'Laconic Wallet',
|
||||
}}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="SignMessage"
|
||||
component={SignMessage}
|
||||
|
@ -97,35 +97,27 @@ const HomeScreen = () => {
|
||||
{currentAccount && currentAccount.pubKey}
|
||||
</Text>
|
||||
</View>
|
||||
|
||||
<View style={{ flexDirection: 'row', justifyContent: 'center' }}>
|
||||
<View
|
||||
style={{
|
||||
marginTop: 20,
|
||||
marginRight: 10,
|
||||
width: 150,
|
||||
alignSelf: 'center',
|
||||
<View style={{ alignItems: 'center', marginTop: 30 }}>
|
||||
<Button
|
||||
mode="contained"
|
||||
onPress={() => {
|
||||
navigation.navigate('SignMessage', {
|
||||
selectedNetwork: network,
|
||||
});
|
||||
}}>
|
||||
<Button
|
||||
mode="contained"
|
||||
onPress={() => {
|
||||
navigation.navigate('SignMessage', {
|
||||
selectedNetwork: network,
|
||||
});
|
||||
}}>
|
||||
Sign Message
|
||||
</Button>
|
||||
</View>
|
||||
<View style={{ marginTop: 20, width: 150, alignSelf: 'center' }}>
|
||||
<Button
|
||||
mode="contained"
|
||||
buttonColor="#B82B0D"
|
||||
onPress={async () => {
|
||||
setResetWalletDialog(true);
|
||||
}}>
|
||||
Reset Wallet
|
||||
</Button>
|
||||
</View>
|
||||
Sign Message
|
||||
</Button>
|
||||
</View>
|
||||
|
||||
<View style={{ marginTop: 400, alignSelf: 'center' }}>
|
||||
<Button
|
||||
mode="contained"
|
||||
buttonColor="#B82B0D"
|
||||
onPress={async () => {
|
||||
setResetWalletDialog(true);
|
||||
}}>
|
||||
Reset Wallet
|
||||
</Button>
|
||||
</View>
|
||||
</View>
|
||||
) : (
|
||||
|
Loading…
Reference in New Issue
Block a user