Skip to content

Commit

Permalink
rm logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy Lee authored and Timothy Lee committed Dec 31, 2017
1 parent 402f5b0 commit 82891e6
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,20 +341,16 @@ public Item getItem(int position) {
maxRange--;
}

Log.d("dddddddd", "1111 dddddddd "+ position + " " + offset + " " + maxRange);

if (accountObject.getMainActiveAddressesCount() != 0) {
maxRange += accountObject.getMainActiveAddressesCount() + 1;
} else {
maxRange += 2;
}
if (position < maxRange) {
if (position == offset) {
Log.d("dddddddd", "2222 dddddddd "+ position + " " + offset + " " + maxRange + " " + accountObject.getMainActiveAddressesCount());
return new SectionItem(getString(R.string.active_main_addresses));
} else {
if (accountObject.getMainActiveAddressesCount() != 0) {
Log.d("dddddddd", "3333 dddddddd "+ position + " " + offset + " " + maxRange + " " + accountObject.getMainActiveAddressesCount());
String address = accountObject.getMainActiveAddress(accountObject.getMainActiveAddressesCount()-(position-offset));
if (!showBalances) {
return new LeftTitleItem(address);
Expand Down

0 comments on commit 82891e6

Please sign in to comment.