Skip to content

Commit

Permalink
fix(mac): Use big toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
thien-do committed Aug 11, 2022
1 parent 92e7bab commit 0e4d736
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/mac/SamuwriteNative/SamuwriteNativeApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,20 @@ struct SamuwriteNativeApp: App {
maxWidth: .infinity,
minHeight: 300,
maxHeight: .infinity)
VStack {

}
.navigationTitle("navigationTitle")
.navigationSubtitle("navigationSubtitle")
.toolbar {
ToolbarItemGroup(placement: .navigation, content: {
Button(action: {}, label: {
Text(verbatim: "")
})
})
}
}
.windowStyle(.hiddenTitleBar)
.windowToolbarStyle(.automatic)
.windowToolbarStyle(.unified)
}
}

0 comments on commit 0e4d736

Please sign in to comment.