add settings to toggle fuel decimals from three to two.

This commit is contained in:
DESKTOP-GENO133\IvanPlex
2024-01-15 13:02:48 -07:00
parent 239ca73a64
commit 2ec0c1d465
4 changed files with 14 additions and 5 deletions

View File

@@ -93,7 +93,8 @@ namespace CarCareTracker.Helper
UseDescending = bool.Parse(_config[nameof(UserConfig.UseDescending)]),
EnableAuth = bool.Parse(_config[nameof(UserConfig.EnableAuth)]),
HideZero = bool.Parse(_config[nameof(UserConfig.HideZero)]),
UseUKMPG = bool.Parse(_config[nameof(UserConfig.UseUKMPG)])
UseUKMPG = bool.Parse(_config[nameof(UserConfig.UseUKMPG)]),
UseThreeDecimalGasCost = bool.Parse(_config[nameof(UserConfig.UseThreeDecimalGasCost)])
};
int userId = 0;
if (user != null)