mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
refactor(healthchat): move the session hooks onto UserHooks
This commit is contained in:
@@ -34,7 +34,7 @@ class UserProfileScreenViewModel: UserProfileScreenViewModelType, UserProfileScr
|
||||
let initialViewState = UserProfileScreenViewState(userID: userID,
|
||||
isOwnUser: userID == userSession.clientProxy.userID,
|
||||
isPresentedModally: isPresentedModally,
|
||||
appHooks: appHooks,
|
||||
extendedProfileSectionHook: userSession.userHooks.extendedProfileSectionHook,
|
||||
bindings: .init())
|
||||
|
||||
super.init(initialViewState: userSession.userHooks.userProfileScreenHook.update(initialViewState),
|
||||
|
||||
Reference in New Issue
Block a user