Skip to content

Commit

Permalink
refactor #605 Remove useless local variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
toastkidjp committed Aug 23, 2020
1 parent f2917a1 commit 8d3cf31
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,8 @@ class InputNameDialogFragment : DialogFragment() {
fun show(target: Fragment) {
val dialogFragment = InputNameDialogFragment()
dialogFragment.setTargetFragment(target, 1)
val fragmentManager = target.parentFragmentManager
dialogFragment.show(
fragmentManager,
target.parentFragmentManager,
InputNameDialogFragment::class.java.canonicalName
)
}
Expand Down

0 comments on commit 8d3cf31

Please sign in to comment.