From d85b27a4e1e4682e54b50e03409dbb50c605220c Mon Sep 17 00:00:00 2001 From: arthur <16458204+ArthurKun021@users.noreply.github.com> Date: Sun, 9 Jun 2024 10:41:16 +0800 Subject: [PATCH] Added double click for trigger --- .../ui/battle_config_list/BattleConfigListScreen.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/github/fate_grand_automata/ui/battle_config_list/BattleConfigListScreen.kt b/app/src/main/java/io/github/fate_grand_automata/ui/battle_config_list/BattleConfigListScreen.kt index 2590934ee..e8027fdbf 100644 --- a/app/src/main/java/io/github/fate_grand_automata/ui/battle_config_list/BattleConfigListScreen.kt +++ b/app/src/main/java/io/github/fate_grand_automata/ui/battle_config_list/BattleConfigListScreen.kt @@ -390,7 +390,8 @@ private fun BattleConfigListItem( modifier = Modifier .combinedClickable( onClick = onClick, - onLongClick = { longClickState.value.invoke() } + onLongClick = { longClickState.value.invoke() }, + onDoubleClick = { longClickState.value.invoke() }, ) .padding(16.dp, 5.dp) ) {