Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Fix incorrectly triggered error toast in voting - Closes #911 #915

Merged
merged 1 commit into from
Oct 25, 2017

Conversation

ginacontrino
Copy link
Contributor

What's the problem?
The error toast was displayed despite being within vote limit
#911

What did you do?

  • Moved existing working logic from votingBar into util to reuse in both places

How can I test it?

  • Having already voted for 100 delegates, remove one existing vote and add 2 more (so your total votes are 101/101)
  • There should be no error Toast anynmore
  • Adding one more vote should show error toast

@ginacontrino ginacontrino self-assigned this Oct 25, 2017
@ginacontrino ginacontrino changed the base branch from development to 1.2.1 October 25, 2017 10:00
Copy link
Contributor

@slaweet slaweet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job Gina

@ginacontrino ginacontrino merged commit e11bd70 into 1.2.1 Oct 25, 2017
@ginacontrino ginacontrino deleted the 911-vote-limit-error-toast branch October 25, 2017 10:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants