summaryrefslogtreecommitdiff
path: root/tables.go
diff options
context:
space:
mode:
authorGrail Finder (aider) <wohilas@gmail.com>2025-03-23 14:05:46 +0300
committerGrail Finder (aider) <wohilas@gmail.com>2025-03-23 14:05:46 +0300
commit67e540298a72ecef7d07ac6c25a0282c8f4a68ff (patch)
tree98164eee0e479a7c00c668a5d0a4b4dd7f7aadac /tables.go
parent3e7499f71afdfaf12a9258f29e1293548b9e1e7b (diff)
fix: Use correct ReadCard function in tables.go
Diffstat (limited to 'tables.go')
-rw-r--r--tables.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tables.go b/tables.go
index f3e5b34..b80e088 100644
--- a/tables.go
+++ b/tables.go
@@ -144,7 +144,7 @@ func makeChatTable(chatMap map[string]models.Chat) *tview.Table {
return
}
// Reload card from disk
- newCard, err := pngmeta.ReadCardFromFile(cc.FilePath, cfg.UserRole)
+ newCard, err := pngmeta.ReadCard(cc.FilePath, cfg.UserRole)
if err != nil {
logger.Error("failed to reload charcard", "path", cc.FilePath, "error", err)
if err := notifyUser("error", "failed to reload card: "+cc.FilePath); err != nil {