mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-18 23:20:54 +00:00
Allow clear clipboard history toolbar key in normal toolbar (#679)
Co-authored-by: codokie <@> Co-authored-by: Helium314 <helium314@disroot.org>
This commit is contained in:
parent
c98d6d0cc6
commit
2c24f190c1
4 changed files with 8 additions and 7 deletions
|
@ -730,6 +730,9 @@ public final class InputLogic {
|
|||
case KeyCode.CLIPBOARD_COPY_ALL:
|
||||
mConnection.copyText(false);
|
||||
break;
|
||||
case KeyCode.CLIPBOARD_CLEAR_HISTORY:
|
||||
mLatinIME.getClipboardHistoryManager().clearHistory();
|
||||
break;
|
||||
case KeyCode.CLIPBOARD_CUT:
|
||||
if (mConnection.hasSelection()) {
|
||||
mConnection.copyText(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue