In this case, it might be that you are using the same variable twice. That could mean you are activating isPresented from 2 locations in your code. If you change your code to use 2 separate variables, it shouldn't crash. For example, use $showView3FromView1 and $showView3FromView2 in their respective views.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: