mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Added logout option, room list on home screen, made various methods asynchronous,
This commit is contained in:
@@ -15,10 +15,14 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import UIKit
|
||||
|
||||
protocol HomeScreenViewModelProtocol {
|
||||
|
||||
var completion: ((HomeScreenViewModelResult) -> Void)? { get set }
|
||||
@available(iOS 14, *)
|
||||
|
||||
var context: HomeScreenViewModelType.Context { get }
|
||||
|
||||
func updateWithRoomList(_ roomList: [RoomModelProtocol])
|
||||
|
||||
func updateWithUserAvatar(_ avatar: UIImage?)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user