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