From: Damyan Ivanov Date: Sun, 31 Mar 2024 15:07:28 +0000 (+0300) Subject: drop a check that is always true X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=39bedf0e728ce9c9682d3682330cb3455a4a00db;p=mobile-ledger.git drop a check that is always true --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/account_summary/AccountSummaryFragment.java b/app/src/main/java/net/ktnx/mobileledger/ui/account_summary/AccountSummaryFragment.java index 924f7afe..02d685ce 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/account_summary/AccountSummaryFragment.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/account_summary/AccountSummaryFragment.java @@ -107,8 +107,7 @@ public class AccountSummaryFragment extends MobileLedgerListFragment { mainActivity.fabShouldShow(); - if (mainActivity instanceof FabManager.FabHandler) - FabManager.handle(mainActivity, b.accountRoot); + FabManager.handle(mainActivity, b.accountRoot); Colors.themeWatch.observe(getViewLifecycleOwner(), this::themeChanged); b.accountSwipeRefreshLayout.setOnRefreshListener(() -> {