Fix fab state when service is stopped

This commit is contained in:
iKirby 2024-11-26 22:32:33 +08:00
parent ea460ea5d1
commit 86d2ad7097

View file

@ -51,6 +51,7 @@ class DashboardFragment : Fragment(R.layout.fragment_dashboard) {
disablePager() disablePager()
binding.fab.setImageResource(R.drawable.ic_play_arrow_24) binding.fab.setImageResource(R.drawable.ic_play_arrow_24)
binding.fab.show() binding.fab.show()
binding.fab.isEnabled = true
} }
Status.Starting -> { Status.Starting -> {