Skip to content

Commit

Permalink
refactor #605 Remove useless elvis operator.
Browse files Browse the repository at this point in the history
  • Loading branch information
toastkidjp committed Aug 19, 2020
1 parent 10d665c commit ea63257
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class InputNameDialogFragment : DialogFragment() {
fun show(target: Fragment) {
val dialogFragment = InputNameDialogFragment()
dialogFragment.setTargetFragment(target, 1)
val fragmentManager = target.parentFragmentManager ?: return
val fragmentManager = target.parentFragmentManager
dialogFragment.show(
fragmentManager,
InputNameDialogFragment::class.java.canonicalName
Expand Down

0 comments on commit ea63257

Please sign in to comment.