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,15 +97,7 @@ const HomeScreen = () => {
|
|||||||
{currentAccount && currentAccount.pubKey}
|
{currentAccount && currentAccount.pubKey}
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
|
<View style={{ alignItems: 'center', marginTop: 30 }}>
|
||||||
<View style={{ flexDirection: 'row', justifyContent: 'center' }}>
|
|
||||||
<View
|
|
||||||
style={{
|
|
||||||
marginTop: 20,
|
|
||||||
marginRight: 10,
|
|
||||||
width: 150,
|
|
||||||
alignSelf: 'center',
|
|
||||||
}}>
|
|
||||||
<Button
|
<Button
|
||||||
mode="contained"
|
mode="contained"
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
@ -116,7 +108,8 @@ const HomeScreen = () => {
|
|||||||
Sign Message
|
Sign Message
|
||||||
</Button>
|
</Button>
|
||||||
</View>
|
</View>
|
||||||
<View style={{ marginTop: 20, width: 150, alignSelf: 'center' }}>
|
|
||||||
|
<View style={{ marginTop: 400, alignSelf: 'center' }}>
|
||||||
<Button
|
<Button
|
||||||
mode="contained"
|
mode="contained"
|
||||||
buttonColor="#B82B0D"
|
buttonColor="#B82B0D"
|
||||||
@ -127,7 +120,6 @@ const HomeScreen = () => {
|
|||||||
</Button>
|
</Button>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
|
||||||
) : (
|
) : (
|
||||||
<View>
|
<View>
|
||||||
<Text variant="headlineSmall">Create Wallet</Text>
|
<Text variant="headlineSmall">Create Wallet</Text>
|
||||||
|
Loading…
Reference in New Issue
Block a user