Lots of code refactoring to use XAML behaviors instead of code-behind

New Save button in the AppBar
EntryPage now uses the same AppBar as GroupPage (but not shared...)
Some new Symbol mappings
This commit is contained in:
2017-10-25 18:29:50 +02:00
committed by BONNEVILLE Geoffroy
parent 8cd3801897
commit 46c8429cde
26 changed files with 241 additions and 179 deletions

View File

@@ -4,6 +4,8 @@ namespace ModernKeePass.ViewModels
{
public class AboutVm
{
public string Name { get; } = Package.Current.DisplayName;
public string Version
{
get
@@ -11,7 +13,7 @@ namespace ModernKeePass.ViewModels
var package = Package.Current;
var version = package.Id.Version;
return $"{package.DisplayName} version {version.Major}.{version.Minor}";
return $"{version.Major}.{version.Minor}";
}
}
}