fix crash

This commit is contained in:
Milos Kozak 2023-08-24 15:37:27 +02:00
parent e839a95d44
commit 8da7f870fa

View file

@ -335,6 +335,7 @@ class OverviewFragment : DaggerFragment(), View.OnClickListener, OnLongClickList
} }
fun refreshAll() { fun refreshAll() {
if (!config.appInitialized) return
runOnUiThread { runOnUiThread {
_binding ?: return@runOnUiThread _binding ?: return@runOnUiThread
updateTime() updateTime()