mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-10-22 05:35:08 -04:00
Replaced property name string with nameof.
This commit is contained in:
1 parent
08644fb937
commit
6dafa03554
1 file changed
+4
-3
@@ -30,7 +30,7 @@ namespace LibationLauncher
|
||||
|
||||
migrate_to_v4_0_0();
|
||||
migrate_to_v5_0_0();
|
||||
|
||||
|
||||
ensureLoggingConfig();
|
||||
ensureSerilogConfig();
|
||||
configureLogging();
|
||||
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user