index : nmrs-tui
A fast, Vim-friendly NetworkManager TUI built in Rust.
about summary refs log tree commit diff

Diffstat (limited to 'src/ui/toast.rs')

-rw-r--r-- src/ui/toast.rs 4
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ui/toast.rs b/src/ui/toast.rs
index 41e49b8..1b10f4c 100644
--- a/src/ui/toast.rs
+++ b/src/ui/toast.rs
@@ -11,7 +11,7 @@
use crate::ui::{
    area::{Border, Position},
    margin::Margin,
    popup::{self, PopupConfig},
    popup::{PopupConfig, Popups},
    style_config::StyleConfig,
};

@@ -99,7 +99,7 @@
            break;
        };

        let area = popup::popup_rect(
        let area = Popups::rect(
            f,
            &PopupConfig {
                width: 4 + toast.msg.chars().count() as u16, // 4 = borders(2) + padding(2)