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);
}
}
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);