Hello. If i want to add only one reaction buton I have a crash.
2020-05-20 09:20:56.986 7096-7096/? E/MessageQueue-JNI: java.lang.ArithmeticException: divide by zero at com.github.pgreze.reactions.ReactionViewGroup.<init>(ReactionViewGroup.kt:56) at com.github.pgreze.reactions.ReactionPopup$view$2.invoke(ReactionPopup.kt:30) at com.github.pgreze.reactions.ReactionPopup$view$2.invoke(ReactionPopup.kt:17) at kotlin.UnsafeLazyImpl.getValue(Lazy.kt:81) at com.github.pgreze.reactions.ReactionPopup.getView(Unknown Source:2) at com.github.pgreze.reactions.ReactionPopup.onTouch(ReactionPopup.kt:55) at android.view.View.dispatchTouchEvent(View.java:12523)
Hello. If i want to add only one reaction buton I have a crash.
2020-05-20 09:20:56.986 7096-7096/? E/MessageQueue-JNI: java.lang.ArithmeticException: divide by zero at com.github.pgreze.reactions.ReactionViewGroup.<init>(ReactionViewGroup.kt:56) at com.github.pgreze.reactions.ReactionPopup$view$2.invoke(ReactionPopup.kt:30) at com.github.pgreze.reactions.ReactionPopup$view$2.invoke(ReactionPopup.kt:17) at kotlin.UnsafeLazyImpl.getValue(Lazy.kt:81) at com.github.pgreze.reactions.ReactionPopup.getView(Unknown Source:2) at com.github.pgreze.reactions.ReactionPopup.onTouch(ReactionPopup.kt:55) at android.view.View.dispatchTouchEvent(View.java:12523)