mirror of
https://github.com/etesync/android
synced 2025-01-22 21:51:04 +00:00
Migration: remove unused parameter and use correct fragment manager.
This commit is contained in:
parent
d0051fd24c
commit
4ee571a4c9
@ -427,7 +427,7 @@ class WizardCollectionsFragment(private val accountV1: Account, private val eteb
|
||||
|
||||
private fun initUi(inflater: LayoutInflater, v: View) {
|
||||
v.findViewById<Button>(R.id.button_create).setOnClickListener {
|
||||
MigrateCollectionsDoFragment(etebase, info, this.migrateJournals).show(requireFragmentManager(), null)
|
||||
MigrateCollectionsDoFragment(etebase, this.migrateJournals).show(parentFragmentManager, null)
|
||||
}
|
||||
|
||||
v.findViewById<Button>(R.id.button_skip).setOnClickListener {
|
||||
@ -583,7 +583,7 @@ class WizardCollectionsFragment(private val accountV1: Account, private val eteb
|
||||
}
|
||||
|
||||
|
||||
class MigrateCollectionsDoFragment(private val etebase: EtebaseAccount, private val info: AccountActivity.AccountInfo,
|
||||
class MigrateCollectionsDoFragment(private val etebase: EtebaseAccount,
|
||||
private val migrateJournals: HashMap<String, AccountActivity.CollectionListItemInfo>) : DialogFragment() {
|
||||
private val configurationModel: ConfigurationViewModel by activityViewModels()
|
||||
private lateinit var progress: ProgressDialog
|
||||
|
Loading…
Reference in New Issue
Block a user