mirror of
https://github.com/hargata/lubelog.git
synced 2025-12-11 04:37:03 -06:00
Fix light mode bug.
This commit is contained in:
parent
73bb3c11b4
commit
e056aaa7dc
@ -9,7 +9,7 @@ namespace CarCareTracker.Helper
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public static class StaticHelper
|
public static class StaticHelper
|
||||||
{
|
{
|
||||||
public static string VersionNumber = "1.3.7";
|
public static string VersionNumber = "1.3.8";
|
||||||
public static string DbName = "data/cartracker.db";
|
public static string DbName = "data/cartracker.db";
|
||||||
public static string UserConfigPath = "config/userConfig.json";
|
public static string UserConfigPath = "config/userConfig.json";
|
||||||
public static string GenericErrorMessage = "An error occurred, please try again later";
|
public static string GenericErrorMessage = "An error occurred, please try again later";
|
||||||
|
|||||||
@ -55,7 +55,7 @@
|
|||||||
<script>
|
<script>
|
||||||
function getGlobalConfig() {
|
function getGlobalConfig() {
|
||||||
return {
|
return {
|
||||||
useDarkMode: "@useDarkMode" == "True" || window.matchMedia('(prefers-color-scheme: dark)').matches,
|
useDarkMode: "@useDarkMode" == "True" || ("@useSystemColorMode" == "True" && window.matchMedia('(prefers-color-scheme: dark)').matches),
|
||||||
enableCsvImport : "@enableCsvImports" == "True",
|
enableCsvImport : "@enableCsvImports" == "True",
|
||||||
useMarkDown: "@useMarkDown" == "True",
|
useMarkDown: "@useMarkDown" == "True",
|
||||||
currencySymbol: decodeHTMLEntities("@numberFormat.CurrencySymbol"),
|
currencySymbol: decodeHTMLEntities("@numberFormat.CurrencySymbol"),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user