File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
common/src/main/java/com/liskovsoft/smartyoutubetv2/common/misc Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,15 @@ public class PlayerKeyTranslator extends GlobalKeyTranslator {
2222 if (playbackPresenter != null && playbackPresenter .getView () != null ) {
2323 int currentState = playbackPresenter .getView ().getButtonState (R .id .action_thumbs_up );
2424 playbackPresenter .onButtonClicked (R .id .action_thumbs_up , currentState );
25+ MessageHelpers .showMessage (getContext (), currentState == PlayerUI .BUTTON_OFF ? R .string .action_like : R .string .action_like_unset );
2526 }
2627 };
2728 private final Runnable dislikeAction = () -> {
2829 PlaybackPresenter playbackPresenter = getPlaybackPresenter ();
2930 if (playbackPresenter != null && playbackPresenter .getView () != null ) {
3031 int currentState = playbackPresenter .getView ().getButtonState (R .id .action_thumbs_down );
3132 playbackPresenter .onButtonClicked (R .id .action_thumbs_down , currentState );
33+ MessageHelpers .showMessage (getContext (), currentState == PlayerUI .BUTTON_OFF ? R .string .action_dislike : R .string .action_dislike_unset );
3234 }
3335 };
3436 private final Runnable speedUpAction = () -> speedUp (true );
You can’t perform that action at this time.
0 commit comments