ComposeTvKeyboard icon indicating copy to clipboard operation
ComposeTvKeyboard copied to clipboard

java.lang.IllegalArgumentException: Key "-" was already used. If you are using

Open gurureddydev opened this issue 10 months ago • 1 comments

                                                                                                java.lang.IllegalArgumentException: Key "-" was already used. If you are using

gurureddydev avatar Apr 27 '24 18:04 gurureddydev

@gurureddydev If you haven't solved the issue yet, the hyphen and underscore were repeating themselves in the constructNumericKeys() method under com.techlads.composetvkeyboard.domain.model .

    private fun constructNumericKeys() = mutableListOf<Key>().apply {
         ...

        // Row five
        add(ABC)
        add(Clear)
        add(Underscore) <--
        add(Space)
        add(Dash) <--
        add(ActionArrow)
    }

I have opened a PR on the same.

CC @UmairKhalid786

Agusioma avatar May 09 '24 10:05 Agusioma