diff --git a/app/src/main/java/io/legado/app/utils/FragmentExtensions.kt b/app/src/main/java/io/legado/app/utils/FragmentExtensions.kt index 2e812a241..15787e7fe 100644 --- a/app/src/main/java/io/legado/app/utils/FragmentExtensions.kt +++ b/app/src/main/java/io/legado/app/utils/FragmentExtensions.kt @@ -69,11 +69,10 @@ inline fun Fragment.startActivity(vararg params: Pair Fragment.startActivityForResult( requestCode: Int, vararg params: Pair -) = - startActivityForResult( - AnkoInternals.createIntent(requireActivity(), T::class.java, params), - requestCode - ) +) = startActivityForResult( + AnkoInternals.createIntent(requireActivity(), T::class.java, params), + requestCode +) inline fun Fragment.startService(vararg params: Pair) = AnkoInternals.internalStartService(requireActivity(), T::class.java, params)