Use multi-column layout on desktop/iPad

This commit is contained in:
William Brawner 2022-01-06 18:25:22 -06:00
parent 8d814608df
commit 7242112218

View file

@ -51,7 +51,11 @@ struct SidebarBudgetView: View {
BudgetListsView() BudgetListsView()
} }
.navigationTitle(budget.name) .navigationTitle(budget.name)
}.navigationViewStyle(.columns) EmptyView()
if self.tabSelection ?? 0 > 0 {
EmptyView()
}
}
} else { } else {
ActivityIndicator(isAnimating: .constant(true), style: .large) ActivityIndicator(isAnimating: .constant(true), style: .large)
} }