parent
f752594d3c
commit
b768284197
|
@ -91,17 +91,13 @@ extension View {
|
||||||
|
|
||||||
@ViewBuilder
|
@ViewBuilder
|
||||||
private func themeSidebarListStyle() -> some View {
|
private func themeSidebarListStyle() -> some View {
|
||||||
#if targetEnvironment(macCatalyst)
|
|
||||||
self
|
|
||||||
#else
|
|
||||||
switch themeIdiom {
|
switch themeIdiom {
|
||||||
case .pad:
|
case .phone:
|
||||||
listStyle(.sidebar)
|
listStyle(.insetGrouped)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
listStyle(.insetGrouped)
|
listStyle(.sidebar)
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ViewBuilder
|
@ViewBuilder
|
||||||
|
|
Loading…
Reference in New Issue