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

Commit

Permalink
Removed useless toInt toLong
Browse files Browse the repository at this point in the history
  • Loading branch information
DreierF committed Jan 2, 2018
1 parent 6241330 commit fba04f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class TargetListFragment : SelectItemFragmentBase<Target, ExpandableListAdapter<
GROUP -> TargetFactory.getList(target!!)
}
val targets = list
.map { value -> Target(value.id.toInt().toLong(), 0) }
.map { value -> Target(value.id, 0) }
.toMutableList()
adapter!!.setList(targets)
selectItem(binding!!.recyclerView, target!!)
Expand Down

0 comments on commit fba04f4

Please sign in to comment.