feat: Propagate user profile updates to group member details and remove trip code sharing UI.
Some checks failed
Deploy to Play Store / build_and_deploy (push) Has been cancelled
Some checks failed
Deploy to Play Store / build_and_deploy (push) Has been cancelled
This commit is contained in:
@@ -657,38 +657,6 @@ class _ShowTripDetailsContentState extends State<ShowTripDetailsContent> {
|
||||
_handleLeaveTrip(currentUser);
|
||||
},
|
||||
),
|
||||
ListTile(
|
||||
leading: Icon(
|
||||
Icons.share,
|
||||
color: theme.colorScheme.onSurface,
|
||||
),
|
||||
title: Text(
|
||||
'Partager le code',
|
||||
style: theme.textTheme.bodyLarge?.copyWith(
|
||||
color: theme.colorScheme.onSurface,
|
||||
),
|
||||
),
|
||||
onTap: () {
|
||||
Navigator.pop(context);
|
||||
// Implement share functionality
|
||||
if (_group != null) {
|
||||
// Use share_plus package to share the code
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(
|
||||
content: Text('ID du groupe : ${_group!.id}'),
|
||||
action: SnackBarAction(
|
||||
label: 'Copier',
|
||||
onPressed: () {
|
||||
Clipboard.setData(
|
||||
ClipboardData(text: _group!.id),
|
||||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user