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:
Sylvain Duchesne
2026-01-21 19:04:02 +01:00
parent a3e89e65c9
commit 92a835e553
2 changed files with 6 additions and 17 deletions
+2 -1
View File
@@ -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>
+4 -16
View File
@@ -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 />