refactor(mobile): setup - added button to go home as it caused confustion
This commit is contained in:
@@ -99,9 +99,16 @@ export default function Setup() {
|
|||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
padding: 3,
|
padding: 3,
|
||||||
borderRadius: 8,
|
borderRadius: 8,
|
||||||
|
gap: 3,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Button title="Submit" onPress={authCheck} />
|
<Button title="Submit" onPress={authCheck} />
|
||||||
|
<Button
|
||||||
|
title="Home"
|
||||||
|
onPress={() => {
|
||||||
|
router.push("/(tabs)/scanner");
|
||||||
|
}}
|
||||||
|
/>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
) : (
|
) : (
|
||||||
@@ -145,14 +152,7 @@ export default function Setup() {
|
|||||||
</View>
|
</View>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<View
|
<View className="flex gap-2 flex-row">
|
||||||
style={{
|
|
||||||
flexDirection: "row",
|
|
||||||
justifyContent: "center",
|
|
||||||
padding: 3,
|
|
||||||
gap: 3,
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<Button title="Save Config" onPress={handleSave} />
|
<Button title="Save Config" onPress={handleSave} />
|
||||||
<Button
|
<Button
|
||||||
title="Home"
|
title="Home"
|
||||||
|
|||||||
Reference in New Issue
Block a user