From: Damyan Ivanov Date: Sun, 22 Dec 2019 12:58:41 +0000 (+0200) Subject: whitespace X-Git-Tag: v0.12.0~116 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=ef5ec74b5ccbc920e755aed94fa45948a2f9538b;p=mobile-ledger.git whitespace --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/MobileLedgerListFragment.java b/app/src/main/java/net/ktnx/mobileledger/ui/MobileLedgerListFragment.java index d53cc6f0..13c4fe04 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/MobileLedgerListFragment.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/MobileLedgerListFragment.java @@ -19,16 +19,16 @@ package net.ktnx.mobileledger.ui; import android.view.MotionEvent; -import net.ktnx.mobileledger.ui.activity.MainActivity; -import net.ktnx.mobileledger.ui.transaction_list.TransactionListAdapter; -import net.ktnx.mobileledger.utils.Colors; -import net.ktnx.mobileledger.utils.DimensionUtils; - import androidx.annotation.NonNull; import androidx.fragment.app.Fragment; import androidx.recyclerview.widget.RecyclerView; import androidx.swiperefreshlayout.widget.SwipeRefreshLayout; +import net.ktnx.mobileledger.ui.activity.MainActivity; +import net.ktnx.mobileledger.ui.transaction_list.TransactionListAdapter; +import net.ktnx.mobileledger.utils.Colors; +import net.ktnx.mobileledger.utils.DimensionUtils; + public class MobileLedgerListFragment extends Fragment { public SwipeRefreshLayout swiper; public TransactionListAdapter modelAdapter; @@ -38,8 +38,10 @@ public class MobileLedgerListFragment extends Fragment { swiper.setColorSchemeColors(Colors.getColors()); } public void onBackgroundTaskRunningChanged(Boolean isRunning) { - if (mActivity == null) return; - if (swiper == null) return; + if (mActivity == null) + return; + if (swiper == null) + return; swiper.setRefreshing(isRunning); } protected void manageFabOnScroll() { @@ -66,7 +68,8 @@ public class MobileLedgerListFragment extends Fragment { // swipe up downAnchor = lastY; - if (currentY < upAnchor - triggerPixels) mActivity.fabHide(); + if (currentY < upAnchor - triggerPixels) + mActivity.fabHide(); } lastY = currentY;