mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 23:18:27 +02:00
Templates: Use struct instead of class for coordinator paramaters.
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
/// FlowTemplateCoordinator input parameters
|
/// FlowTemplateCoordinator input parameters
|
||||||
class FlowTemplateCoordinatorParameters {
|
struct FlowTemplateCoordinatorParameters {
|
||||||
|
|
||||||
/// The Matrix session
|
/// The Matrix session
|
||||||
let session: MXSession
|
let session: MXSession
|
||||||
|
|||||||
@@ -17,12 +17,8 @@
|
|||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
/// TemplateScreenCoordinator input parameters
|
/// TemplateScreenCoordinator input parameters
|
||||||
class TemplateScreenCoordinatorParameters {
|
struct TemplateScreenCoordinatorParameters {
|
||||||
|
|
||||||
/// The Matrix session
|
/// The Matrix session
|
||||||
let session: MXSession
|
let session: MXSession
|
||||||
|
|
||||||
init(session: MXSession) {
|
|
||||||
self.session = session
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user