Infomaniak/ios-kMail

Crash because of floating panel iOS 15

Closed this issue · 0 comments

this seems to crash the app

.floatingPanel(state: bottomSheet, halfOpening: true) {
            if case .actions(let target) = bottomSheet.state, !target.isInvalidated {
                ActionsView(mailboxManager: viewModel.mailboxManager,
                            target: target,
                            state: bottomSheet,
                            globalSheet: globalBottomSheet, moveSheet: moveSheet) { message, replyMode in
                    messageReply = MessageReply(message: message, replyMode: replyMode)
                } completionHandler: {
                    bottomSheet.close()
                    multipleSelectionViewModel.isEnabled = false
                }
            }
        }