adjusting modal layout

This commit is contained in:
balzack 2023-09-12 22:52:45 -07:00
parent 04e4da7aa3
commit 8c1eb824e7
2 changed files with 19 additions and 21 deletions

View File

@ -383,7 +383,6 @@ export function Settings() {
onChangeText={actions.setSealPassword}
/>
<View style={styles.buttons}>
{ state.sealPassword && (
<TouchableOpacity style={styles.enabledButton} activeOpacity={1} onPress={() => sealAction(actions.unlockKey)}>
{ busy && (
@ -399,7 +398,6 @@ export function Settings() {
<Text style={styles.disabledButtonText}>{ state.strings.unlock }</Text>
</View>
)}
</View>
<TouchableOpacity activeOpacity={1} onPress={actions.showSealRemove}>
<Text style={styles.dangerText}>{ state.strings.removeSeal }</Text>
</TouchableOpacity>

View File

@ -192,7 +192,7 @@ export const styles = StyleSheet.create({
right: 16,
},
enabledButton: {
marginTop: 8,
marginTop: 24,
marginBottom: 16,
borderRadius: 4,
backgroundColor: Colors.primaryButton,
@ -207,7 +207,7 @@ export const styles = StyleSheet.create({
fontFamily: 'Roboto',
},
disabledButton: {
marginTop: 8,
marginTop: 24,
marginBottom: 16,
borderRadius: 4,
backgroundColor: Colors.disabledButton,
@ -222,7 +222,7 @@ export const styles = StyleSheet.create({
fontFamily: 'Roboto',
},
dangerButton: {
marginTop: 8,
marginTop: 24,
marginBottom: 16,
borderRadius: 4,
backgroundColor: Colors.dangerButton,
@ -253,7 +253,7 @@ export const styles = StyleSheet.create({
fontFamily: 'Roboto',
},
cancelButton: {
marginTop: 8,
marginTop: 24,
marginBottom: 16,
marginRight: 16,
borderRadius: 4,