CoordinatorParamters, Type -> Protocol, remove MX Prefix.

This commit is contained in:
David Langley
2021-09-08 15:47:24 +01:00
parent 0131654e47
commit f965620bfe
21 changed files with 54 additions and 33 deletions
@@ -22,7 +22,7 @@ import UIKit
/**
Provides a simple api to retrieve and cache avatar images
*/
protocol AvatarServiceType {
protocol AvatarServiceProtocol {
@available(iOS 14.0, *)
func avatarImage(mxContentUri: String, avatarSize: AvatarSize) -> Future<UIImage, Error>
}
@@ -25,7 +25,7 @@ import DesignKit
@available(iOS 14.0, *)
class AvatarViewModel: InjectableObject, ObservableObject {
@Inject var avatarService: AvatarServiceType
@Inject var avatarService: AvatarServiceProtocol
@Published private(set) var viewState = AvatarViewState.empty