summaryrefslogtreecommitdiff
path: root/props_table.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-03-04 11:25:13 +0300
committerGrail Finder <wohilas@gmail.com>2026-03-04 11:25:13 +0300
commitabcaad66093bdf9a98f10c909a05ab1ebcb431f3 (patch)
treec1c4d9d30ef13a2aca63c4b6b1a74a7ccea556e9 /props_table.go
parent50ce0200af5648818e6e4f51d6541bd3bdb7e036 (diff)
Enha: native notification implementation
Diffstat (limited to 'props_table.go')
-rw-r--r--props_table.go8
1 files changed, 2 insertions, 6 deletions
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