mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-16 19:05:27 -04:00
Removed deprecated requireFragmentManager() method
This commit is contained in:
parent
1148c04ae6
commit
04dbbfd48e
@ -551,7 +551,7 @@ class OnlineLibraryFragment : BaseFragment(), FragmentActivityExtensions {
|
||||
.apply {
|
||||
onSelectAction = ::storeDeviceInPreferences
|
||||
}
|
||||
.show(requireFragmentManager(), getString(R.string.pref_storage))
|
||||
.show(parentFragmentManager, getString(R.string.pref_storage))
|
||||
|
||||
private fun showStorageConfigureDialog() {
|
||||
alertDialogShower.show(
|
||||
|
@ -139,7 +139,7 @@ class AddNoteDialog : DialogFragment() {
|
||||
private fun onFailureToCreateAddNoteDialog() {
|
||||
context.toast(R.string.error_file_not_found, Toast.LENGTH_LONG)
|
||||
closeKeyboard()
|
||||
requireFragmentManager().beginTransaction().remove(this).commit()
|
||||
parentFragmentManager.beginTransaction().remove(this).commit()
|
||||
}
|
||||
|
||||
override fun onCreateView(
|
||||
|
Loading…
x
Reference in New Issue
Block a user