chore: remove duplicate send image button (#5735)
This commit is contained in:
parent
abc4a9630c
commit
ba054a2557
1 changed files with 0 additions and 19 deletions
|
|
@ -133,25 +133,6 @@ class PangeaChatInputRow extends StatelessWidget {
|
|||
contentPadding: const EdgeInsets.all(0),
|
||||
),
|
||||
),
|
||||
if (!isBotDM)
|
||||
PopupMenuItem(
|
||||
value: AddPopupMenuActions.image,
|
||||
child: ListTile(
|
||||
leading: CircleAvatar(
|
||||
backgroundColor: theme
|
||||
.colorScheme
|
||||
.onPrimaryContainer,
|
||||
foregroundColor: theme
|
||||
.colorScheme
|
||||
.primaryContainer,
|
||||
child: const Icon(
|
||||
Icons.photo_outlined,
|
||||
),
|
||||
),
|
||||
title: Text(L10n.of(context).sendImage),
|
||||
contentPadding: const EdgeInsets.all(0),
|
||||
),
|
||||
),
|
||||
if (PlatformInfos.isMobile)
|
||||
PopupMenuItem<AddPopupMenuActions>(
|
||||
value: AddPopupMenuActions.photoCamera,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue