commit | 2e779ee3960b90662a18e26f60954457de943386 | [log] [tgz] |
---|---|---|
author | Andreas Traczyk <andreas.traczyk@savoirfairelinux.com> | Tue Feb 13 17:21:12 2018 -0500 |
committer | Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com> | Tue Feb 20 13:53:30 2018 -0500 |
tree | 1ad60931da2cf16aa8d33c434c9584594cbf78a4 | |
parent | 8b84f9455583b4861b1910f754b601ddaac9b6cc [diff] |
avatars: abstract contact avatar UIView generation - Avatar generation is rampant throughout the iOS client, this patch subclasses UIView and initializes an avatar generated from the profile image and username of the contact. An extension to the String class is also provided to check if it is a valid SHA-1(ring Id). Change-Id: I36f8281caa5856f3913566eba5e078aff8cf65e9 Reviewed-by: Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>