Fix Settings not loading on reload

This commit is contained in:
2024-08-26 13:09:33 +02:00
parent 6f3bba99b0
commit 14e33cc496
3 changed files with 8 additions and 7 deletions

View File

@@ -41,6 +41,8 @@ public partial class Tranga : GlobalBase
if (wdp)
TrangaSettings.LoadFromWorkingDirectory(workingDirectoryPath![0]);
else
TrangaSettings.CreateOrUpdate();
if(dlp)
TrangaSettings.CreateOrUpdate(downloadDirectory: downloadLocationPath![0]);