Skip to content

Commit

Permalink
Made the phase settings view work when the phase states have empty na…
Browse files Browse the repository at this point in the history
…tions (like when mustering).
  • Loading branch information
zond committed May 21, 2020
1 parent 26944d2 commit 0a7d1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/se/oort/diplicity/MemberTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void setMembers(final RetrofitActivity retrofitActivity, Game game, final
if (this.phaseStates != null) {
PhaseState foundState = null;
for (PhaseState state : phaseStates) {
if (state.Nation.equals(member.Nation)) {
if (!state.Nation.equals("") && state.Nation.equals(member.Nation)) {
foundState = state;
break;
}
Expand Down

0 comments on commit 0a7d1c2

Please sign in to comment.