commit
33fb5e1f14
|
@ -234,6 +234,7 @@ public class NavListAdapter extends RecyclerView.Adapter<NavListAdapter.Holder>
|
|||
// reset for re-use
|
||||
holder.count.setVisibility(View.GONE);
|
||||
holder.count.setOnClickListener(null);
|
||||
holder.count.setClickable(false);
|
||||
|
||||
String tag = fragmentTags.get(position);
|
||||
if (tag.equals(QueueFragment.TAG)) {
|
||||
|
|
|
@ -80,7 +80,7 @@ public class StatisticsFilterDialog {
|
|||
dialogBinding.timeToSpinner.setSelection(filterDatesTo.first.length - 1);
|
||||
});
|
||||
dialogBinding.pastYearButton.setOnClickListener(v -> {
|
||||
dialogBinding.timeFromSpinner.setSelection(Math.max(0, filterDatesFrom.first.length - 13));
|
||||
dialogBinding.timeFromSpinner.setSelection(Math.max(0, filterDatesFrom.first.length - 12));
|
||||
dialogBinding.timeToSpinner.setSelection(filterDatesTo.first.length - 2);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue