TF-2532 Remove attachment/inlineImage icon in keyboard toolbar on tablet
This commit is contained in:
@@ -243,15 +243,6 @@ class ComposerView extends GetWidget<ComposerController> {
|
||||
keyboardRichTextController: controller.richTextMobileTabletController!.richTextController,
|
||||
onCloseViewAction: () => controller.handleClickCloseComposer(context),
|
||||
onClearFocusAction: () => controller.clearFocus(context),
|
||||
onAttachFileAction: () => controller.isNetworkConnectionAvailable
|
||||
? controller.openPickAttachmentMenu(
|
||||
context,
|
||||
_pickAttachmentsActionTiles(context)
|
||||
)
|
||||
: null,
|
||||
onInsertImageAction: (constraints) => controller.isNetworkConnectionAvailable
|
||||
? controller.insertImage(context, constraints.maxWidth)
|
||||
: null,
|
||||
childBuilder: (context, constraints) => Container(
|
||||
color: ComposerStyle.mobileBackgroundColor,
|
||||
child: Column(
|
||||
|
||||
@@ -51,8 +51,8 @@ class TabletContainerView extends StatelessWidget {
|
||||
backgroundKeyboardToolBarColor: TabletContainerViewStyle.keyboardToolbarBackgroundColor,
|
||||
isLandScapeMode: _responsiveUtils.isLandscapeMobile(context),
|
||||
insertAttachment: onAttachFileAction,
|
||||
insertImage: () => onInsertImageAction != null
|
||||
? onInsertImageAction!(constraints)
|
||||
insertImage: onInsertImageAction != null
|
||||
? () => onInsertImageAction!(constraints)
|
||||
: null,
|
||||
richTextController: keyboardRichTextController,
|
||||
titleQuickStyleBottomSheet: AppLocalizations.of(context).titleQuickStyles,
|
||||
|
||||
Reference in New Issue
Block a user