Skip to content

Commit

Permalink
Remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
levinli303 committed Apr 8, 2022
1 parent 99bb0f4 commit 120f241
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class GoToInputFragment : NavigationFragment.SubFragment() {
}
}, chooseObjectCallback = { _ ->
listener?.onEditGoToObject(goToData)
}, chooseUnitCallback = { current ->
}, chooseUnitCallback = {
val ac = activity ?: return@GoToInputRecyclerViewAdapter
ac.showOptions("", distanceUnits.map { value -> CelestiaString(value.name, "") }.toTypedArray(),) { newIndex ->
val unit = distanceUnits[newIndex]
Expand All @@ -97,7 +97,6 @@ class GoToInputFragment : NavigationFragment.SubFragment() {
adapter?.reload()
adapter?.notifyDataSetChanged()
}

}, proceedCallback = {
adapter?.let {
listener?.onGoToObject(goToData)
Expand Down

0 comments on commit 120f241

Please sign in to comment.