This resolves #561. The solution of #551 has a side effect on the case of #561, so I replace the solution with fatalError.
Instead of continuing to work a modal presentation transition even if it's not .hidden state, it just crash using the fatalError and the error message as a programmer error.
This resolves #561. The solution of #551 has a side effect on the case of #561, so I replace the solution with fatalError.
Instead of continuing to work a modal presentation transition even if it's not
.hidden
state, it just crash using the fatalError and the error message as a programmer error.