I'm trying to get my navigation view style to be stacked on iPad but default on iPhone.

Code:

```
.navigationViewStyle(UIDevice.current.userInterfaceIdiom == .pad ? StackNavigationViewStyle() : DefaultNavigationViewStyle())

```

Giving me the error:

> 
> Result values in '? :' expression have mismatching types 'StackNavigationViewStyle' and 'DefaultNavigationViewStyle'
> 
> 
> 

Are these not both NavigationViewStyle subclasses?