From c2f2b977a24e7887550be4f83f351aa352fe928d Mon Sep 17 00:00:00 2001 From: iKirby <6316115+iKirby@users.noreply.github.com> Date: Wed, 27 Nov 2024 10:40:17 +0800 Subject: [PATCH] Fix fab state when service is stopped --- .../main/java/io/nekohasekai/sfa/ui/main/DashboardFragment.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/io/nekohasekai/sfa/ui/main/DashboardFragment.kt b/app/src/main/java/io/nekohasekai/sfa/ui/main/DashboardFragment.kt index 084a713..8dde378 100644 --- a/app/src/main/java/io/nekohasekai/sfa/ui/main/DashboardFragment.kt +++ b/app/src/main/java/io/nekohasekai/sfa/ui/main/DashboardFragment.kt @@ -51,6 +51,7 @@ class DashboardFragment : Fragment(R.layout.fragment_dashboard) { disablePager() binding.fab.setImageResource(R.drawable.ic_play_arrow_24) binding.fab.show() + binding.fab.isEnabled = true } Status.Starting -> {