22 lines
862 B
Diff
22 lines
862 B
Diff
diff --git a/src/ui/listview.rs b/src/ui/listview.rs
|
|
index 17fead7..e6c72b6 100644
|
|
--- a/src/ui/listview.rs
|
|
+++ b/src/ui/listview.rs
|
|
@@ -85,7 +85,7 @@ impl<I: ListItem> ListView<I> {
|
|
|
|
pub fn content_height_with_paginator(&self) -> usize {
|
|
let content_len = self.content.read().unwrap().len();
|
|
- log::info!("content len: {content_len}");
|
|
+ log::info!("content len: {}", content_len);
|
|
|
|
// add 1 more row for paginator if we can paginate
|
|
if self.can_paginate() {
|
|
@@ -97,7 +97,7 @@ impl<I: ListItem> ListView<I> {
|
|
|
|
fn can_paginate(&self) -> bool {
|
|
let loaded = self.get_pagination().loaded_content();
|
|
- log::info!("can paginate: {loaded}");
|
|
+ log::info!("can paginate: {}", loaded);
|
|
self.get_pagination().max_content().unwrap_or(0) > self.get_pagination().loaded_content()
|
|
}
|