From cd1b5db72fd4c2b43ab3c17167684699b4f3b7eb Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sat, 25 Apr 2020 23:05:09 +0300 Subject: [PATCH] lambdaisation --- .../ui/activity/NewTransactionItemHolder.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java index f1dc196a..31ddee38 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java @@ -348,13 +348,12 @@ class NewTransactionItemHolder extends RecyclerView.ViewHolder adapter.checkTransactionSubmittable(); }; - currencyGapObserver = hasGap -> { - updateCurrencyPositionAndPadding(Data.currencySymbolPosition.getValue(), hasGap); - }; + currencyGapObserver = + hasGap -> updateCurrencyPositionAndPadding(Data.currencySymbolPosition.getValue(), + hasGap); - currencyPositionObserver = position -> { - updateCurrencyPositionAndPadding(position, Data.currencyGap.getValue()); - }; + currencyPositionObserver = + position -> updateCurrencyPositionAndPadding(position, Data.currencyGap.getValue()); showCurrencyObserver = showCurrency -> { if (showCurrency) { -- 2.39.5