Stop blocking on loading the current user display name and avatar. Improve perceived app startup times.

This commit is contained in:
Stefan Ceriu
2022-04-08 14:06:26 +03:00
parent 6b42f7cc3d
commit 916ac2dcee
6 changed files with 87 additions and 50 deletions
@@ -22,5 +22,7 @@ protocol HomeScreenViewModelProtocol {
var context: HomeScreenViewModelType.Context { get }
func updateWithUserAvatar(_ avatar: UIImage)
func updateWithUserDisplayName(_ displayName: String)
func updateWithRoomList(_ roomList: [RoomSummaryProtocol])
}