Replaced property name string with nameof.
This commit is contained in:
parent
08644fb937
commit
6dafa03554
@ -213,9 +213,10 @@ namespace LibationLauncher
|
||||
{
|
||||
var persistentDictionary = new PersistentDictionary(Configuration.Instance.SettingsFilePath);
|
||||
|
||||
if (persistentDictionary.GetString("AllowLibationFixup") is null)
|
||||
var config = Configuration.Instance;
|
||||
if (persistentDictionary.GetString(nameof(config.AllowLibationFixup)) is null)
|
||||
{
|
||||
persistentDictionary.Set("AllowLibationFixup", true);
|
||||
persistentDictionary.Set(nameof(config.AllowLibationFixup), true);
|
||||
}
|
||||
|
||||
if (!File.Exists(AudibleApiStorage.AccountsSettingsFile))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user