Show app version in Mac menu (#286)

This commit is contained in:
Davide De Rosa 2023-04-08 11:57:42 +02:00 committed by GitHub
parent 50b4806275
commit 574f9a05b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -57,6 +57,11 @@ class PassepartoutMenu {
private var body: [ItemGroup] { private var body: [ItemGroup] {
var children: [ItemGroup] = [] var children: [ItemGroup] = []
children.append(contentsOf: [
TextItem(Constants.Global.appVersionString),
SeparatorItem()
] as [ItemGroup])
children.append(contentsOf: [ children.append(contentsOf: [
VisibilityItem( VisibilityItem(
L10n.Global.Strings.show, L10n.Global.Strings.show,