edited EmailScreen's Delte Modal formatting
This commit is contained in:
@@ -293,13 +293,14 @@ const ScannedDataBox: React.FC<ScannedDataBoxProps> = ({ qrCodeId, clearScanData
|
||||
<Text style={[styles.resultText, { color: resultColor }]}>
|
||||
Result: {resultText}
|
||||
</Text>
|
||||
<Text style={styles.classificationText}>
|
||||
Classification: {classification}
|
||||
</Text>
|
||||
|
||||
|
||||
{/* URL Type */}
|
||||
{type === 'URL' && (
|
||||
<>
|
||||
<Text style={styles.classificationText}>
|
||||
Classification: {classification}
|
||||
</Text>
|
||||
<View style={styles.mainContent}>
|
||||
{/* Left Container */}
|
||||
<View style={styles.leftContainer}>
|
||||
|
||||
@@ -298,7 +298,6 @@ const EmailScreen: React.FC = () => {
|
||||
>
|
||||
<View style={styles.modalOverlay}>
|
||||
<View style={styles.modalContainer}>
|
||||
<View style={styles.modalContent}>
|
||||
<Text style={styles.modalTitle}>Are you sure?</Text>
|
||||
<Text style={styles.modalText}>This will only delete the entry on the app and not the actual email.</Text>
|
||||
<View style={styles.modalButtons}>
|
||||
@@ -315,7 +314,6 @@ const EmailScreen: React.FC = () => {
|
||||
<Text style={[styles.modalButtonText, { color: '#ff69b4' }]}>No, Keep It</Text>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</Modal>
|
||||
@@ -469,7 +467,7 @@ const styles = StyleSheet.create({
|
||||
},
|
||||
deleteButtonText: {
|
||||
marginRight: screenWidth * 0.02,
|
||||
color: '#f41c87',
|
||||
color: '#ff69b4',
|
||||
fontSize: screenWidth * 0.035,
|
||||
},
|
||||
modalOverlay: {
|
||||
@@ -497,6 +495,7 @@ const styles = StyleSheet.create({
|
||||
marginBottom: screenHeight * 0.01,
|
||||
},
|
||||
modalText: {
|
||||
color: '#ff69b4',
|
||||
fontSize: screenWidth * 0.04,
|
||||
marginBottom: screenHeight * 0.02,
|
||||
textAlign: 'center',
|
||||
|
||||
@@ -267,6 +267,7 @@ const styles = StyleSheet.create({
|
||||
marginBottom: screenHeight * 0.01,
|
||||
},
|
||||
modalText: {
|
||||
color: '#ff69b4',
|
||||
fontSize: screenWidth * 0.04,
|
||||
marginBottom: screenHeight * 0.02,
|
||||
textAlign: 'center',
|
||||
|
||||
Reference in New Issue
Block a user