summaryrefslogtreecommitdiff
path: root/tables.go
diff options
context:
space:
mode:
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 {