mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-14 05:31:02 +00:00
Fix SwapScreen: remove duplicate title, keep only settings button
This commit is contained in:
@@ -472,10 +472,8 @@ const SwapScreen: React.FC = () => {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
<ScrollView style={styles.scrollContent} contentContainerStyle={styles.scrollContentContainer}>
|
<ScrollView style={styles.scrollContent} contentContainerStyle={styles.scrollContentContainer}>
|
||||||
{/* Header with Settings */}
|
{/* Settings Button Row */}
|
||||||
<View style={styles.header}>
|
<View style={styles.settingsRow}>
|
||||||
<View style={{width: 40}} />
|
|
||||||
<Text style={styles.headerTitle}>Swap</Text>
|
|
||||||
<TouchableOpacity onPress={() => setShowSettings(true)} style={styles.settingsButton}>
|
<TouchableOpacity onPress={() => setShowSettings(true)} style={styles.settingsButton}>
|
||||||
<Text style={styles.settingsIcon}>⚙️</Text>
|
<Text style={styles.settingsIcon}>⚙️</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
@@ -709,16 +707,10 @@ const styles = StyleSheet.create({
|
|||||||
scrollContentContainer: {
|
scrollContentContainer: {
|
||||||
padding: 16,
|
padding: 16,
|
||||||
},
|
},
|
||||||
header: {
|
settingsRow: {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
justifyContent: 'space-between',
|
justifyContent: 'flex-end',
|
||||||
alignItems: 'center',
|
marginBottom: 12,
|
||||||
marginBottom: 20,
|
|
||||||
},
|
|
||||||
headerTitle: {
|
|
||||||
fontSize: 20,
|
|
||||||
fontWeight: 'bold',
|
|
||||||
color: '#333',
|
|
||||||
},
|
},
|
||||||
settingsButton: {
|
settingsButton: {
|
||||||
width: 40,
|
width: 40,
|
||||||
|
|||||||
Reference in New Issue
Block a user