Some design changes

Again fixed open url bug
This commit is contained in:
Geoffroy BONNEVILLE
2020-05-13 15:14:58 +02:00
parent d38d6461bd
commit 0adb44bc81
6 changed files with 7 additions and 21 deletions

View File

@@ -20,7 +20,7 @@ namespace ModernKeePass.Application.Entry.Models
public FieldVm Password { get; set; }
public FieldVm Notes { get; set; }
public FieldVm Url { get; set; }
public bool HasUrl => !string.IsNullOrEmpty(Url.Value);
public bool IsValidUrl => Uri.IsWellFormedUriString(Url.Value, UriKind.Absolute);
public List<FieldVm> AdditionalFields { get; set; }
public List<EntryVm> History { get; set; }
public Icon Icon { get; set; }