]> git.ktnx.net Git - mobile-ledger.git/commitdiff
lambdaisation
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 25 Apr 2020 20:05:09 +0000 (23:05 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 25 Apr 2020 20:05:09 +0000 (23:05 +0300)
app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java

index f1dc196a55c05f184fbe7264175454a906595a8d..31ddee38ba1cdcddd2bf719e7fa75f64a7d93ba4 100644 (file)
@@ -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) {