Remove margins from buttons

These were for my ios testing, which I might
add back in later.
This commit is contained in:
Brandon Presley 2022-11-30 18:14:34 +13:00
parent 9db11460fe
commit 521fa0e9d3
5 changed files with 3 additions and 15 deletions

View File

@ -121,7 +121,5 @@ const styles = StyleSheet.create({
fontSize: 20, fontSize: 20,
marginBottom: MARGIN, marginBottom: MARGIN,
}, },
button: { button: {},
margin: MARGIN * 2,
},
}) })

View File

@ -198,7 +198,6 @@ export default function EditSet() {
</View> </View>
<Button <Button
style={{margin: MARGIN * 2}}
disabled={!name} disabled={!name}
mode="contained" mode="contained"
icon="save" icon="save"

View File

@ -186,12 +186,7 @@ export default function EditWorkout() {
</Button> </Button>
)} )}
</ScrollView> </ScrollView>
<Button <Button disabled={!name} mode="contained" icon="save" onPress={save}>
style={{margin: MARGIN * 2}}
disabled={!name}
mode="contained"
icon="save"
onPress={save}>
Save Save
</Button> </Button>
<ConfirmDialog <ConfirmDialog

BIN
README.md.pdf Normal file

Binary file not shown.

View File

@ -165,11 +165,7 @@ export default function StartPlan() {
/> />
)} )}
</View> </View>
<Button <Button mode="contained" icon="save" onPress={handleSubmit}>
style={{margin: MARGIN * 2}}
mode="contained"
icon="save"
onPress={handleSubmit}>
Save Save
</Button> </Button>
</View> </View>