Merge pull request #5 from StevanFreeborn/stevanfreeborn/fix/locate-appsettings-file-properly
fix: use GetSettingsPath when checking if settings exists
This commit is contained in:
@@ -7,7 +7,7 @@ class AppSettingsManager(IFileSystem fileSystem) : IAppSettingsManager
|
|||||||
|
|
||||||
public bool AppSettingsExist()
|
public bool AppSettingsExist()
|
||||||
{
|
{
|
||||||
return _fileSystem.Path.Exists(SettingsFileName);
|
return _fileSystem.Path.Exists(GetSettingsPath());
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task<AppSettings> GetAppSettingsAsync()
|
public async Task<AppSettings> GetAppSettingsAsync()
|
||||||
|
|||||||
Reference in New Issue
Block a user