mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
code review change: curlies & whitespace for if statement
This commit is contained in:
parent
dd26077caa
commit
f7fac0f3c4
1 changed files with 3 additions and 1 deletions
|
@ -1115,8 +1115,10 @@ public class GUIUtil {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static MaterialDesignIcon getIconForSignState(AccountAgeWitnessService.SignState state) {
|
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 MaterialDesignIcon.CLOCK;
|
||||||
|
}
|
||||||
|
|
||||||
return (state.equals(AccountAgeWitnessService.SignState.ARBITRATOR) ||
|
return (state.equals(AccountAgeWitnessService.SignState.ARBITRATOR) ||
|
||||||
state.equals(AccountAgeWitnessService.SignState.PEER_SIGNER)) ?
|
state.equals(AccountAgeWitnessService.SignState.PEER_SIGNER)) ?
|
||||||
MaterialDesignIcon.APPROVAL : MaterialDesignIcon.ALERT_CIRCLE_OUTLINE;
|
MaterialDesignIcon.APPROVAL : MaterialDesignIcon.ALERT_CIRCLE_OUTLINE;
|
||||||
|
|
Loading…
Add table
Reference in a new issue