From 5f3ca9f0941c13a3aa670809dedcd2b4795244df Mon Sep 17 00:00:00 2001 From: Kosh Date: Wed, 29 Mar 2017 22:38:05 +0800 Subject: [PATCH] fixed thumbs up & down reactions where they are inversed. --- .../code/commit/details/comments/CommitCommentsPresenter.java | 4 ++-- .../issues/issue/details/comments/IssueCommentsPresenter.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/fastaccess/ui/modules/repos/code/commit/details/comments/CommitCommentsPresenter.java b/app/src/main/java/com/fastaccess/ui/modules/repos/code/commit/details/comments/CommitCommentsPresenter.java index 36d94a48..e57a277e 100644 --- a/app/src/main/java/com/fastaccess/ui/modules/repos/code/commit/details/comments/CommitCommentsPresenter.java +++ b/app/src/main/java/com/fastaccess/ui/modules/repos/code/commit/details/comments/CommitCommentsPresenter.java @@ -155,10 +155,10 @@ class CommitCommentsPresenter extends BasePresenter impl type = ReactionTypes.CONFUSED; break; case R.id.thumbsDown: - type = ReactionTypes.PLUS_ONE; + type = ReactionTypes.MINUS_ONE; break; case R.id.thumbsUp: - type = ReactionTypes.MINUS_ONE; + type = ReactionTypes.PLUS_ONE; break; case R.id.laugh: type = ReactionTypes.LAUGH; diff --git a/app/src/main/java/com/fastaccess/ui/modules/repos/issues/issue/details/comments/IssueCommentsPresenter.java b/app/src/main/java/com/fastaccess/ui/modules/repos/issues/issue/details/comments/IssueCommentsPresenter.java index 38931392..0390ea7d 100644 --- a/app/src/main/java/com/fastaccess/ui/modules/repos/issues/issue/details/comments/IssueCommentsPresenter.java +++ b/app/src/main/java/com/fastaccess/ui/modules/repos/issues/issue/details/comments/IssueCommentsPresenter.java @@ -162,10 +162,10 @@ class IssueCommentsPresenter extends BasePresenter implem type = ReactionTypes.CONFUSED; break; case R.id.thumbsDown: - type = ReactionTypes.PLUS_ONE; + type = ReactionTypes.MINUS_ONE; break; case R.id.thumbsUp: - type = ReactionTypes.MINUS_ONE; + type = ReactionTypes.PLUS_ONE; break; case R.id.laugh: type = ReactionTypes.LAUGH;