From 86d2ad7097c05215e5f3e87dd3b38da05480247b Mon Sep 17 00:00:00 2001 From: iKirby <6316115+iKirby@users.noreply.github.com> Date: Tue, 26 Nov 2024 22:32:33 +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 -> {