mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Fix double selection of emoji when long-pressing one that doesn't have skin variants
This commit is contained in:
-1
@@ -194,7 +194,6 @@ fun EmojiItem(
|
|||||||
interactionSource.emit(press)
|
interactionSource.emit(press)
|
||||||
if (tryAwaitRelease()) {
|
if (tryAwaitRelease()) {
|
||||||
interactionSource.emit(PressInteraction.Release(press))
|
interactionSource.emit(PressInteraction.Release(press))
|
||||||
onSelectEmoji(item)
|
|
||||||
} else {
|
} else {
|
||||||
interactionSource.emit(PressInteraction.Cancel(press))
|
interactionSource.emit(PressInteraction.Cancel(press))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user