From abcaad66093bdf9a98f10c909a05ab1ebcb431f3 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Wed, 4 Mar 2026 11:25:13 +0300 Subject: Enha: native notification implementation --- props_table.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'props_table.go') diff --git a/props_table.go b/props_table.go index f8432cd..ec66812 100644 --- a/props_table.go +++ b/props_table.go @@ -259,9 +259,7 @@ func makePropsTable(props map[string]float32) *tview.Table { // Handle nil options if data.Options == nil { logger.Error("options list is nil for", "label", label) - if err := notifyUser("Configuration error", "Options list is nil for "+label); err != nil { - logger.Error("failed to send notification", "error", err) - } + showToast("Configuration error", "Options list is nil for "+label) return } @@ -279,9 +277,7 @@ func makePropsTable(props map[string]float32) *tview.Table { message = "No llama.cpp models loaded. Ensure llama.cpp server is running with models." } } - if err := notifyUser("Empty list", message); err != nil { - logger.Error("failed to send notification", "error", err) - } + showToast("Empty list", message) return } // Create a list primitive -- cgit v1.2.3