added setting to auto-insert odometer readings.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2024-01-23 11:46:11 -07:00
parent e6b50fafd2
commit 04b7e7fd38
6 changed files with 61 additions and 3 deletions

View File

@@ -96,6 +96,7 @@ namespace CarCareTracker.Helper
UseUKMPG = bool.Parse(_config[nameof(UserConfig.UseUKMPG)]),
UseThreeDecimalGasCost = bool.Parse(_config[nameof(UserConfig.UseThreeDecimalGasCost)]),
EnableAutoReminderRefresh = bool.Parse(_config[nameof(UserConfig.EnableAutoReminderRefresh)]),
EnableAutoOdometerInsert = bool.Parse(_config[nameof(UserConfig.EnableAutoOdometerInsert)]),
VisibleTabs = _config.GetSection("VisibleTabs").Get<List<ImportMode>>(),
DefaultTab = (ImportMode)int.Parse(_config[nameof(UserConfig.DefaultTab)])
};