Skip to main content

avatar

Function avatar 

Source
pub fn avatar<'a, Message: 'a>(
    images: &'a ImageStore,
    picture: Option<&str>,
    public_key: &PublicKey,
    name: &str,
    size: f32,
) -> Element<'a, Message>
Expand description

The picture at picture, round and size across. Until it has loaded, or if there is none, a disc in the person’s own colour with the initial of name.