mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
Add an OAuthPresenterHook. (#5545)
* Add an OAuthPresenterHook. * Update the enterprise submodule.
This commit is contained in:
@@ -34,6 +34,11 @@ class AppHooks: AppHooksProtocol {
|
||||
certificateValidatorHook = hook
|
||||
}
|
||||
|
||||
private(set) var oAuthPresenterHook: OAuthPresenterHookProtocol = DefaultOAuthPresenterHook()
|
||||
func registerOAuthPresenterHook(_ hook: OAuthPresenterHookProtocol) {
|
||||
oAuthPresenterHook = hook
|
||||
}
|
||||
|
||||
private(set) var roomScreenHook: RoomScreenHookProtocol = DefaultRoomScreenHook()
|
||||
func registerRoomScreenHook(_ hook: RoomScreenHookProtocol) {
|
||||
roomScreenHook = hook
|
||||
|
||||
Reference in New Issue
Block a user