Add intrinsic sized bottom sheet

This commit is contained in:
Alfonso Grillo
2022-11-09 12:05:47 +01:00
parent f0027faba3
commit 1538a3b6ac
4 changed files with 44 additions and 9 deletions
@@ -61,7 +61,8 @@ final class UserSessionNameCoordinator: NSObject, Coordinator, Presentable {
case .learnMore:
self.showInfoSheet(parameters: .init(title: VectorL10n.userSessionRenameSessionTitle,
description: VectorL10n.userSessionRenameSessionDescription,
action: .init(text: VectorL10n.userSessionGotIt, action: {})))
action: .init(text: VectorL10n.userSessionGotIt, action: {}),
parentSize: self.toPresentable().view.bounds.size))
}
}
}