fix: close popup if current page is the last one

This commit is contained in:
leo 2024-06-12 12:08:00 +08:00
parent 78654243a0
commit 2078886bc9
No known key found for this signature in database
GPG key ID: B528468E49CD0E58

View file

@ -136,6 +136,7 @@ namespace SourceGit.ViewModels
last.Node = new RepositoryNode() { Id = Guid.NewGuid().ToString() };
last.Data = Welcome.Instance;
last.Popup = null;
GC.Collect();
}