Remove spammy trace log in ListView
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
use log::{info, trace};
|
use log::info;
|
||||||
use std::cmp::{max, min, Ordering};
|
use std::cmp::{max, min, Ordering};
|
||||||
use std::sync::{Arc, RwLock};
|
use std::sync::{Arc, RwLock};
|
||||||
|
|
||||||
@@ -73,11 +73,6 @@ impl<I: ListItem> ListView<I> {
|
|||||||
|
|
||||||
fn can_paginate(&self) -> bool {
|
fn can_paginate(&self) -> bool {
|
||||||
if let Some(max) = self.get_pagination().max_content() {
|
if let Some(max) = self.get_pagination().max_content() {
|
||||||
trace!(
|
|
||||||
"pagination: total: {}, current: {}",
|
|
||||||
max,
|
|
||||||
self.last_content_len
|
|
||||||
);
|
|
||||||
if max > self.last_content_len {
|
if max > self.last_content_len {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user