Skip to content

Commit

Permalink
code review change: curlies & whitespace for if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacxx committed Nov 16, 2020
1 parent dd26077 commit f7fac0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion desktop/src/main/java/bisq/desktop/util/GUIUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -1115,8 +1115,10 @@ public static String getBsqInUsd(Price bsqPrice,
}

public static MaterialDesignIcon getIconForSignState(AccountAgeWitnessService.SignState state) {
if (state.equals(AccountAgeWitnessService.SignState.PEER_INITIAL))
if (state.equals(AccountAgeWitnessService.SignState.PEER_INITIAL)) {
return MaterialDesignIcon.CLOCK;
}

return (state.equals(AccountAgeWitnessService.SignState.ARBITRATOR) ||
state.equals(AccountAgeWitnessService.SignState.PEER_SIGNER)) ?
MaterialDesignIcon.APPROVAL : MaterialDesignIcon.ALERT_CIRCLE_OUTLINE;
Expand Down

0 comments on commit f7fac0f

Please sign in to comment.