Skip to content

Commit

Permalink
Add null check for WA resolutions with no target
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydtorres committed Jan 6, 2018
1 parent 4c83690 commit 507f7ec
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@ public void onClick(View v) {
* @param target
*/
private void setTargetView(TextView t, String category, String target, int repealTarget) {
if (target == null) {
t.setText(category);
}

String[] pair = target.split(":");

if (pair.length <= 1) {
Expand Down

0 comments on commit 507f7ec

Please sign in to comment.