mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Introduce a user session manager (#6295)
This commit is contained in:
@@ -24,7 +24,10 @@ extension FlowCoordinatorProtocol {
|
||||
///
|
||||
/// Please do **not** pass this type directly to screen coordinators/view models.
|
||||
struct CommonFlowParameters {
|
||||
/// The session of the account this flow tree belongs to. It never changes, even when another account becomes active.
|
||||
let userSession: UserSessionProtocol
|
||||
/// Every signed in account, most recently active first, so the first one is `userSession`'s.
|
||||
let availableSessionsPublisher: CurrentValuePublisher<[UserSessionDetails], Never>
|
||||
let bugReportService: BugReportServiceProtocol
|
||||
let elementCallService: ElementCallServiceProtocol
|
||||
let timelineControllerFactory: TimelineControllerFactoryProtocol
|
||||
|
||||
Reference in New Issue
Block a user