Skip to content

Commit

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

0 comments on commit 9d27633

Please sign in to comment.