Thanks to visit codestin.com
Credit goes to github.com

Skip to content

AW-76 - Fix Error Status on Send Transaction screen#43

Merged
theotniel merged 2 commits into
devfrom
AW-76
May 17, 2018
Merged

AW-76 - Fix Error Status on Send Transaction screen#43
theotniel merged 2 commits into
devfrom
AW-76

Conversation

@theotniel
Copy link
Copy Markdown
Contributor

No description provided.

EventPublisher.fireOperationFinished();
}

private void setErrorStatus(final String message) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

wouldn't it be better to have only one method and handle the different options with case ?


private static final Logger log = WalletLoggerFactory.getLogger(LogEnum.WLT.name());

private static final String ERROR_LABEL = "error-label";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

create an enum for the possible statuses of a transaction

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is actually a badly named css style class

@theotniel theotniel merged commit f97cfa7 into dev May 17, 2018
theotniel added a commit that referenced this pull request May 22, 2018
* AW-76 - Fix Error Status on Send Transaction screen

* AW-76 - Changes after review
@theotniel theotniel deleted the AW-76 branch May 23, 2018 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants