feat ticketQr #refs 6602
This commit is contained in:
parent
1f81ac53cb
commit
8275340f0e
|
@ -332,9 +332,13 @@ class CollectionFragment(
|
|||
|
||||
customDialogList.getEditText().setOnEditorActionListener { v, actionId, event ->
|
||||
if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0 || actionId == 5 || actionId == 6) {
|
||||
if (!customDialogList.getValue().isEmpty()) {
|
||||
if (customDialogList.getValue().isNotEmpty()) {
|
||||
ma.hideKeyboard(customDialogList.getEditText())
|
||||
var saleGroupScanned = customDialogList.getValue()
|
||||
val saleGroupScanned = itemScanValue(
|
||||
customDialogList.getValue(),
|
||||
arrayOf("saleGroup"),
|
||||
"id"
|
||||
).toString()
|
||||
isScanned =
|
||||
event != null && event.action == ACTION_DOWN && event.keyCode == KeyEvent.KEYCODE_ENTER
|
||||
markPrevia(saleGroupScanned)
|
||||
|
|
Loading…
Reference in New Issue