From 6fc61035765c414495dfd2ad708ef9f7b9aaa557 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Wed, 20 Sep 2023 19:41:19 +0400 Subject: [PATCH] Contacts menu bug fix --- main/contacts-menu.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/contacts-menu.lua b/main/contacts-menu.lua index f0b96d3..85cad84 100644 --- a/main/contacts-menu.lua +++ b/main/contacts-menu.lua @@ -28,11 +28,12 @@ function on_drawer_open() names = map(contacts, function(it) return it.name end) keys = map(contacts, function(it) return it.lookup_key end) + icons = map(contacts, function(it) if it.icon ~= nil then return it.icon else - return it.name:sub(1,1) -- Backward compatibility + return "fa:phone" -- Backward compatibility end end)