Update Riot/Modules/Common/Avatar/AvatarService.swift

Co-authored-by: manuroe <manuroe@users.noreply.github.com>
This commit is contained in:
David Langley 2021-08-13 08:24:42 +01:00 committed by GitHub
parent 57719fd15d
commit 6fae92ce41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ class AvatarService: AvatarServiceType {
/**
Given an avatar input, this function returns a publisher of UIImage.
If possible to retrieve the actualy image it will from network or cache.
While waiting ont he netowrk or if one can't be retrieved it will return the generated acatar.
While waiting on the network or if one can't be retrieved it will return the generated avatar.
- Parameter inputData: data required to fetch the avatar or generate the image
- Returns: A publisher of UIImage? that doesn't error(always possible to generate the image)