From: Damyan Ivanov Date: Thu, 4 Mar 2021 19:43:08 +0000 (+0200) Subject: new transaction: avoid manipulating the FAB directly, use the manager X-Git-Tag: v0.17.0~34 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=2840b585bf86dc12ae920113bf8fb723d4883cca;p=mobile-ledger.git new transaction: avoid manipulating the FAB directly, use the manager direct manipulation leads to inconsistency - the manager thinks that the fab is visible and refuses to show it --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionActivity.java index 4b1fce94..3e177260 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionActivity.java @@ -416,7 +416,7 @@ public class NewTransactionActivity extends ProfileThemedActivity }); } private void onFabPressed() { - b.fabAdd.hide(); + fabManager.hideFab(); Misc.hideSoftKeyboard(this); LedgerTransaction tr = model.constructLedgerTransaction();