From: Damyan Ivanov Date: Sat, 25 Apr 2020 20:05:09 +0000 (+0300) Subject: lambdaisation X-Git-Tag: v0.12.0~36 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=cd1b5db72fd4c2b43ab3c17167684699b4f3b7eb;p=mobile-ledger.git lambdaisation --- 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) {