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",
|
||||
padding: 3,
|
||||
borderRadius: 8,
|
||||
gap: 3,
|
||||
}}
|
||||
>
|
||||
<Button title="Submit" onPress={authCheck} />
|
||||
<Button
|
||||
title="Home"
|
||||
onPress={() => {
|
||||
router.push("/(tabs)/scanner");
|
||||
}}
|
||||
/>
|
||||
</View>
|
||||
</View>
|
||||
) : (
|
||||
@@ -145,14 +152,7 @@ export default function Setup() {
|
||||
</View>
|
||||
)}
|
||||
|
||||
<View
|
||||
style={{
|
||||
flexDirection: "row",
|
||||
justifyContent: "center",
|
||||
padding: 3,
|
||||
gap: 3,
|
||||
}}
|
||||
>
|
||||
<View className="flex gap-2 flex-row">
|
||||
<Button title="Save Config" onPress={handleSave} />
|
||||
<Button
|
||||
title="Home"
|
||||
|
||||
Reference in New Issue
Block a user