fix: renamed duplicate shortcut commands (#4196)

This commit is contained in:
Ansah Mohammad 2023-12-24 19:42:16 +05:30 committed by GitHub
parent 0371a28a42
commit 9b55f5bc7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ import 'package:flutter/material.dart';
/// - mobile /// - mobile
/// ///
final CommandShortcutEvent customCopyCommand = CommandShortcutEvent( final CommandShortcutEvent customCopyCommand = CommandShortcutEvent(
key: 'copy the selected content', key: 'copy the selected content (with formatting)',
command: 'ctrl+c', command: 'ctrl+c',
macOSCommand: 'cmd+c', macOSCommand: 'cmd+c',
handler: _copyCommandHandler, handler: _copyCommandHandler,

View File

@ -11,7 +11,7 @@ import 'package:flutter/material.dart';
/// - mobile /// - mobile
/// ///
final CommandShortcutEvent customCutCommand = CommandShortcutEvent( final CommandShortcutEvent customCutCommand = CommandShortcutEvent(
key: 'cut the selected content', key: 'cut the selected content (with formatting)',
command: 'ctrl+x', command: 'ctrl+x',
macOSCommand: 'cmd+x', macOSCommand: 'cmd+x',
handler: _cutCommandHandler, handler: _cutCommandHandler,

View File

@ -18,7 +18,7 @@ import 'package:string_validator/string_validator.dart';
/// - mobile /// - mobile
/// ///
final CommandShortcutEvent customPasteCommand = CommandShortcutEvent( final CommandShortcutEvent customPasteCommand = CommandShortcutEvent(
key: 'paste the content', key: 'paste the content (with formatting)',
command: 'ctrl+v', command: 'ctrl+v',
macOSCommand: 'cmd+v', macOSCommand: 'cmd+v',
handler: _pasteCommandHandler, handler: _pasteCommandHandler,