Paidを集計に含めないように
This commit is contained in:
parent
3d222cafe0
commit
7d01ebc018
|
@ -148,7 +148,7 @@ public class WalletContentFragment extends Fragment {
|
|||
// totalRewardTextView.setText(String.valueOf(historyList.stream().mapToInt(HistoryModel::getReward).sum()) + "円");
|
||||
requireActivity().runOnUiThread(() -> {
|
||||
historyItemListAdapter.notifyDataSetChanged();
|
||||
totalRewardTextView.setText(String.valueOf(historyList.stream().mapToInt(HistoryModel::getReward).sum()) + "円");
|
||||
totalRewardTextView.setText(String.valueOf(historyList.stream().filter(HistoryModel::isPaid).mapToInt(HistoryModel::getReward).sum()) + "円");
|
||||
});
|
||||
}).thenRun(() -> {
|
||||
requireActivity().runOnUiThread(() -> {
|
||||
|
|
Loading…
Reference in New Issue
Block a user