onTapBtn method

void onTapBtn()

Implementation

void onTapBtn() {
  if (!isLongPress) {
    if (whichIconUserChoose == 0) {
      isLiked = !isLiked;
    } else {
      whichIconUserChoose = 0;
    }
    if (isLiked) {
      playSound('short_press_like.mp3');
      animControlBtnShortPress.forward();
    } else {
      animControlBtnShortPress.reverse();
    }
  }
}