Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion App/KasetApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ struct KasetApp: App {
}

var body: some Scene {
WindowGroup {
Window("Kaset", id: "main") {
// Skip UI during unit tests to prevent window spam
if UITestConfig.isRunningUnitTests, !UITestConfig.isUITestMode {
Color.clear
Expand Down
3 changes: 1 addition & 2 deletions Views/macOS/MainWindow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,7 @@ struct MainWindow: View {

/// Returns the view for a specific navigation item.
@ViewBuilder
// swiftlint:disable:next cyclomatic_complexity
private func viewForNavigationItem(_ item: NavigationItem) -> some View {
private func viewForNavigationItem(_ item: NavigationItem) -> some View { // swiftlint:disable:this cyclomatic_complexity
Group {
switch item {
case .home:
Expand Down
Loading