refactor(mobile): setup - added button to go home as it caused confustion

This commit is contained in:
2026-05-27 20:56:08 -05:00
parent 347edb7078
commit c15ee070e7

View File

@@ -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"