Contacts menu script: do not load real icons (slow)
This commit is contained in:
@@ -28,8 +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) return it.name:sub(1,1) end)
|
||||
|
||||
phone:request_icons(keys)
|
||||
drawer:show_list(names, icons, nil, true)
|
||||
|
||||
-- Uncomment this if you want to use real icons (slow)
|
||||
--phone:request_icons(keys)
|
||||
end
|
||||
|
||||
function on_icons_ready(icons)
|
||||
|
||||
Reference in New Issue
Block a user