Expand all if and guard constructs involving @available(iOS 14... or #available(iOS 14...

Signed-off-by: Johannes Marbach <johannesm@element.io>
This commit is contained in:
Johannes Marbach
2022-06-23 09:13:10 +02:00
parent 868fd7e0c8
commit ce4c8b186c
21 changed files with 113 additions and 468 deletions
@@ -64,11 +64,6 @@ final class PollEditFormCoordinator: Coordinator, Presentable {
// MARK: - Public
func start() {
guard #available(iOS 14.0, *) else {
MXLog.error("[PollEditFormCoordinator] start: Invalid iOS version, returning.")
return
}
pollEditFormViewModel.completion = { [weak self] result in
guard let self = self else { return }
switch result {