chore: Follow up gallery picker

This commit is contained in:
Krille 2025-02-25 17:11:29 +01:00
commit eb446af438
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
3 changed files with 86 additions and 22 deletions

View file

@ -143,9 +143,21 @@ class ChatInputRow extends StatelessWidget {
leading: CircleAvatar(
backgroundColor: theme.colorScheme.onPrimaryContainer,
foregroundColor: theme.colorScheme.primaryContainer,
child: const Icon(Icons.photo_album_outlined),
child: const Icon(Icons.photo_outlined),
),
title: Text(L10n.of(context).openGallery),
title: Text(L10n.of(context).sendImage),
contentPadding: const EdgeInsets.all(0),
),
),
PopupMenuItem<String>(
value: 'video',
child: ListTile(
leading: CircleAvatar(
backgroundColor: theme.colorScheme.onPrimaryContainer,
foregroundColor: theme.colorScheme.primaryContainer,
child: const Icon(Icons.video_camera_back_outlined),
),
title: Text(L10n.of(context).sendVideo),
contentPadding: const EdgeInsets.all(0),
),
),