Skip to content

Commit c98611d

Browse files
committed
Fix version in bottom left
1 parent a8a1e17 commit c98611d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [0.5.2] - 2022-03-03
10+
11+
### Fixed
12+
13+
- Show correct version in bottom left
14+
915
## [0.5.1] - 2022-03-03
1016

1117
### Changed

src/Andromeda/AvaloniaApp/ViewComponents/LeftBar.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ module LeftBar =
138138
let assemblyVersion = Assembly.GetEntryAssembly().GetName().Version
139139

140140
match assemblyVersion with
141-
| v when v.Major > 0 -> $"v{v.Major}.{v.Minor}.{v.Build}"
141+
| v when v.Major > 0 || v.Minor > 0 -> $"v{v.Major}.{v.Minor}.{v.Build}"
142142
| _ -> "development build"
143143

144144
StackPanel.create [

0 commit comments

Comments
 (0)