Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
fix bug where react UI unwinds itself (#2571)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnystrom authored Dec 30, 2018
1 parent 0d94c65 commit 9525f37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Issues/Comments/IssueCommentSectionController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,10 @@ final class IssueCommentSectionController: ListBindingSectionController<IssueCom
generator.impactOccurred()
client.react(subjectID: object.id, content: content, isAdd: isAdd) { [weak self] result in
switch result {
case .success:
case .success: break
case .error(let error):
self?.reactionMutation = previousReaction
self?.update(animated: trueUnlessReduceMotionEnabled)
case .error(let error):
Squawk.show(error: error)
}
}
Expand Down

0 comments on commit 9525f37

Please sign in to comment.