From: Damyan Ivanov Date: Tue, 2 Apr 2019 21:13:13 +0000 (+0300) Subject: whitespace X-Git-Tag: v0.9~22 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=fbadb0e6e62d1959351b2dc81fc865201913361b;p=mobile-ledger.git whitespace --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java index ffac1ecf..77a56c35 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java @@ -420,9 +420,9 @@ public class MainActivity extends ProfileThemedActivity { profile = MobileLedgerProfile.loadAllFromDB(profileUUID); } else { - try(LockHolder lh = Data.profiles.lockForReading()) { + try (LockHolder lh = Data.profiles.lockForReading()) { int i = Data.getProfileIndex(profileUUID); - if (i == -1 ) i = 0; + if (i == -1) i = 0; profile = Data.profiles.get(i); } } diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java index d3942852..ea57ab7c 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java @@ -147,8 +147,7 @@ public class TransactionListFragment extends MobileLedgerListFragment { mActivity.scheduleTransactionListRetrieval(); }); - Colors.themeWatch.addObserver( - (o, arg) -> swiper.setColorSchemeColors(Colors.primary)); + Colors.themeWatch.addObserver((o, arg) -> swiper.setColorSchemeColors(Colors.primary)); swiper.setColorSchemeColors(Colors.primary); vAccountFilter = mActivity.findViewById(R.id.transaction_list_account_name_filter);