From 10803b9322f3b21e7f51c6a867e0361198d39d68 Mon Sep 17 00:00:00 2001 From: Isky Date: Thu, 15 Aug 2024 20:45:54 +0800 Subject: [PATCH] edited EmailScreen's Delte Modal formatting --- components/ScannedDataBox.tsx | 7 ++++--- screens/EmailScreen.tsx | 5 ++--- screens/HistoryScreen.tsx | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/components/ScannedDataBox.tsx b/components/ScannedDataBox.tsx index 8f64ba2..803709d 100644 --- a/components/ScannedDataBox.tsx +++ b/components/ScannedDataBox.tsx @@ -293,13 +293,14 @@ const ScannedDataBox: React.FC = ({ qrCodeId, clearScanData Result: {resultText} - - Classification: {classification} - + {/* URL Type */} {type === 'URL' && ( <> + + Classification: {classification} + {/* Left Container */} diff --git a/screens/EmailScreen.tsx b/screens/EmailScreen.tsx index 723d294..d33947d 100644 --- a/screens/EmailScreen.tsx +++ b/screens/EmailScreen.tsx @@ -298,7 +298,6 @@ const EmailScreen: React.FC = () => { > - Are you sure? This will only delete the entry on the app and not the actual email. @@ -315,7 +314,6 @@ const EmailScreen: React.FC = () => { No, Keep It - @@ -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', diff --git a/screens/HistoryScreen.tsx b/screens/HistoryScreen.tsx index 2af6be0..99306f9 100644 --- a/screens/HistoryScreen.tsx +++ b/screens/HistoryScreen.tsx @@ -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',