diff --git a/app/src/main/java/io/github/wulkanowy/ui/base/BaseFragment.kt b/app/src/main/java/io/github/wulkanowy/ui/base/BaseFragment.kt index 667b46ff..6e863c51 100644 --- a/app/src/main/java/io/github/wulkanowy/ui/base/BaseFragment.kt +++ b/app/src/main/java/io/github/wulkanowy/ui/base/BaseFragment.kt @@ -13,7 +13,7 @@ abstract class BaseFragment : DaggerFragment(), BaseView { if (messageContainer == null) (activity as? BaseActivity)?.showError(text, error) else messageContainer?.also { Snackbar.make(it, text, Snackbar.LENGTH_LONG).setAction(R.string.all_details) { - ErrorDialog.newInstance(error).show(fragmentManager, error.toString()) + ErrorDialog.newInstance(error).show(childFragmentManager, error.toString()) }.show() } }