diff --git a/app/src/main/java/io/github/wulkanowy/ui/modules/luckynumber/LuckyNumberFragment.kt b/app/src/main/java/io/github/wulkanowy/ui/modules/luckynumber/LuckyNumberFragment.kt index d535e825..201540f6 100644 --- a/app/src/main/java/io/github/wulkanowy/ui/modules/luckynumber/LuckyNumberFragment.kt +++ b/app/src/main/java/io/github/wulkanowy/ui/modules/luckynumber/LuckyNumberFragment.kt @@ -61,4 +61,9 @@ class LuckyNumberFragment : BaseSessionFragment(), LuckyNumberView, MainView.Tit override fun isViewEmpty(): Boolean { return luckyNumberText.text.isBlank() } + + override fun onDestroyView() { + super.onDestroyView() + presenter.onDetachView() + } }