1
0
mirror of https://github.com/wulkanowy/wulkanowy.git synced 2024-11-23 22:06:35 -06:00

Fix lucky number crash (#242)

This commit is contained in:
Kacper Ziubryniewicz 2019-02-13 15:10:21 +02:00 committed by Rafał Borcz
parent 9fcf245ecd
commit 52ed7dcb6c

View File

@ -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()
}
}