Remove database singleton.

This commit is contained in:
2020-09-05 02:49:41 +01:00
parent 9818cd43c6
commit 49c69b9524
8 changed files with 118 additions and 133 deletions

View File

@@ -321,10 +321,7 @@ namespace RomRepoMgr.ViewModels
void ExecuteSaveCommand()
{
if(_databaseChanged)
{
Settings.Settings.Current.DatabasePath = DatabasePath;
Context.ReplaceSingleton(DatabasePath);
}
if(_repositoryChanged)
Settings.Settings.Current.RepositoryPath = RepositoryPath;