Replace multiple share buttons with single Share + Copy Link
- ShareProfileScreen: Remove 3 individual share options (SMS, Email, Copy) and replace with single "Partager" primary button - MeetingPointsScreen: Add "Copier le lien" button alongside "Partager" Task: 0NGEZ8E5 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -123,7 +123,8 @@ export function MeetingPointsScreen({ navigate }: ScreenProps) {
|
||||
|
||||
<div style={{ display: 'flex', gap: 8, marginTop: 12 }}>
|
||||
<Button style={{ flex: 1 }}>Scanner un QR</Button>
|
||||
<Button style={{ flex: 1 }}>Partager mon lien</Button>
|
||||
<Button variant="primary" style={{ flex: 1 }}>Partager</Button>
|
||||
<Button style={{ flex: 1 }}>Copier le lien</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -74,22 +74,10 @@ export function ShareProfileScreen({ navigate }: ScreenProps) {
|
||||
|
||||
<Divider />
|
||||
|
||||
{/* Share options */}
|
||||
<Text style={{ fontWeight: 'bold', marginBottom: 12 }}>Partager via</Text>
|
||||
<div style={{ display: 'flex', flexDirection: 'column', gap: 8 }}>
|
||||
<Button style={{ width: '100%', justifyContent: 'flex-start', textAlign: 'left' }}>
|
||||
<span style={{ marginRight: 12 }}>📱</span>
|
||||
Message / SMS
|
||||
</Button>
|
||||
<Button style={{ width: '100%', justifyContent: 'flex-start', textAlign: 'left' }}>
|
||||
<span style={{ marginRight: 12 }}>✉️</span>
|
||||
E-mail
|
||||
</Button>
|
||||
<Button style={{ width: '100%', justifyContent: 'flex-start', textAlign: 'left' }}>
|
||||
<span style={{ marginRight: 12 }}>📋</span>
|
||||
Copier le lien
|
||||
</Button>
|
||||
</div>
|
||||
{/* Share action */}
|
||||
<Button variant="primary" style={{ width: '100%' }}>
|
||||
Partager
|
||||
</Button>
|
||||
|
||||
<Divider />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user