remove deprecated call to setTargetFragment() (target fragment is not used)

This commit is contained in:
Christophe Beyls 2024-04-18 01:59:24 +02:00
parent 09ddffbf64
commit 0c87f1640e
1 changed files with 1 additions and 2 deletions

View File

@ -41,8 +41,8 @@ import com.keylesspalace.tusky.util.setAppNightMode
import com.keylesspalace.tusky.util.startActivityWithSlideInAnimation
import dagger.android.DispatchingAndroidInjector
import dagger.android.HasAndroidInjector
import javax.inject.Inject
import kotlinx.coroutines.launch
import javax.inject.Inject
class PreferencesActivity :
BaseActivity(),
@ -112,7 +112,6 @@ class PreferencesActivity :
pref.fragment!!
)
fragment.arguments = args
fragment.setTargetFragment(caller, 0)
supportFragmentManager.commit {
setCustomAnimations(
R.anim.activity_open_enter,