diff --git a/Cargo.lock b/Cargo.lock
index 62df022..ce8b738 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2668,7 +2668,7 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
[[package]]
name = "uptime-kuma-dashboard"
-version = "0.38.2"
+version = "0.38.1"
dependencies = [
"anyhow",
"chrono",
diff --git a/Cargo.toml b/Cargo.toml
index acc8090..d661591 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "uptime-kuma-dashboard"
-version = "0.38.2"
+version = "0.38.1"
edition = "2024"
[dependencies]
diff --git a/README.md b/README.md
index bbfca7e..fc5fb83 100644
--- a/README.md
+++ b/README.md
@@ -4,13 +4,6 @@
A terminal-based monitoring dashboard for Uptime Kuma that displays service status, uptime percentages, and historical performance data directly in your terminal. Built with Rust for performance and reliability.
-## Demo
-
-
-
## Overview
This personal project started as a way to monitor my home lab services without needing a web browser. It connects to your Uptime Kuma instance API and presents a clean, color-coded view of your services' status with real-time updates. The dashboard works great on servers, remote terminals, or anywhere you prefer a lightweight monitoring solution.
diff --git a/assets/demo.webm b/assets/demo.webm
deleted file mode 100644
index fb10b24..0000000
Binary files a/assets/demo.webm and /dev/null differ
diff --git a/src/ui/app.rs b/src/ui/app.rs
index 2e19131..0dc9c9c 100644
--- a/src/ui/app.rs
+++ b/src/ui/app.rs
@@ -191,7 +191,7 @@ impl App {
}
let max_scroll = state
- .get_total_length()
+ .get_total_lenght()
.saturating_sub(area[0].height as usize)
.saturating_add(1);
diff --git a/src/ui/components/monitor_list.rs b/src/ui/components/monitor_list.rs
index ae89733..f0cff07 100644
--- a/src/ui/components/monitor_list.rs
+++ b/src/ui/components/monitor_list.rs
@@ -38,7 +38,7 @@ static STATUS_LINE_CACHE: OnceLock>>> = OnceLo
pub fn render_monitor_list(main_frame: &mut Frame, area: Rect, state: &mut DashboardViewState) {
let available_height = area.height as usize;
- let max_scroll = state.get_total_length().saturating_sub(available_height);
+ let max_scroll = state.get_total_lenght().saturating_sub(available_height);
if state.scroll_state.get_position() > max_scroll {
state.scroll_state = state.scroll_state.position(max_scroll);
@@ -48,7 +48,7 @@ pub fn render_monitor_list(main_frame: &mut Frame, area: Rect, state: &mut Dashb
let mut current_y = area.y as usize;
let mut rendered_height = 0;
let mut lines_skipped = 0;
- let half = state.get_total_length().saturating_div(2);
+ let half = state.get_total_lenght().saturating_div(2);
for group in state.groups.iter() {
let group_height = group.monitors.len() + BORDER_LINES_VIEW;
diff --git a/src/ui/dashboard/model.rs b/src/ui/dashboard/model.rs
index 6425d2b..a59595a 100644
--- a/src/ui/dashboard/model.rs
+++ b/src/ui/dashboard/model.rs
@@ -81,7 +81,7 @@ impl DashboardViewState {
}
}
- pub fn get_total_length(&self) -> usize {
+ pub fn get_total_lenght(&self) -> usize {
self.total_length
}