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,
marginBottom: MARGIN,
},
button: {
margin: MARGIN * 2,
},
button: {},
})

View File

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

View File

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

BIN
README.md.pdf Normal file

Binary file not shown.

View File

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