Fix memory leak

This commit is contained in:
Alfonso Grillo
2022-10-28 16:44:34 +02:00
parent 8a9e37d71c
commit 79e25d2351
3 changed files with 34 additions and 7 deletions
@@ -33,7 +33,7 @@ enum MockInfoSheetScreenState: MockScreenState, CaseIterable {
/// A list of screen state definitions
static var allCases: [MockInfoSheetScreenState] {
// Each of the presence statuses
[.sheet(title: VectorL10n.userSessionVerifiedSessionTitle, subtitle: VectorL10n.userSessionVerifiedSessionDescription, action: .init(text: VectorL10n.userSessionGotIt, action: {}))]
[.sheet(title: VectorL10n.userSessionVerifiedSessionTitle, subtitle: VectorL10n.userSessionVerifiedSessionDescription, action: .init(text: VectorL10n.userSessionGotIt, action: { }))]
}
/// Generate the view struct for the screen state.