mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: renamed duplicate shortcut commands (#4196)
This commit is contained in:
parent
0371a28a42
commit
9b55f5bc7f
@ -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,
|
||||||
|
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user