Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
Fixed NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
DreierF committed Mar 19, 2018
1 parent fa88854 commit 5e7be4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ class InputActivity : ChildActivityBase(), TargetViewBase.OnEndFinishedListener,
}

private fun updateEnd() {
targetView!!.replaceWithEnd(data!!.currentEnd.toEnd())
targetView?.replaceWithEnd(data!!.currentEnd.toEnd())
val totalEnds = if (data!!.currentRound.round.maxEndCount == null)
data!!.ends.size
else
Expand Down

0 comments on commit 5e7be4c

Please sign in to comment.