Currently, only food/default is mapped to an actual icon. We need to determine gplaces and foursquare types and find appropriate icons.
Icon Library can be used to find matching icons.
The code can be found here:
|
fn icon_name(venue: &tdlib::types::Venue) -> Option<&str> { |
Currently, only
food/defaultis mapped to an actual icon. We need to determine gplaces and foursquare types and find appropriate icons.Icon Library can be used to find matching icons.
The code can be found here:
paper-plane/src/ui/session/content/message_row/venue.rs
Line 192 in a7d1649