From 2840b585bf86dc12ae920113bf8fb723d4883cca Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Thu, 4 Mar 2021 21:43:08 +0200 Subject: [PATCH] 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 --- .../mobileledger/ui/new_transaction/NewTransactionActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5