mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 08:44:25 +08:00
support hiding amount in home page
This commit is contained in:
@@ -11,6 +11,7 @@ const defaultSettings = {
|
||||
autoUpdateExchangeRatesData: true,
|
||||
thousandsSeparator: true,
|
||||
currencyDisplayMode: 'symbol', // or 'none' or 'code' or 'name'
|
||||
showAmountInHomePage: true,
|
||||
showAccountBalance: true,
|
||||
animate: true,
|
||||
autoDarkMode: true
|
||||
@@ -88,6 +89,8 @@ export default {
|
||||
setEnableThousandsSeparator: value => setOption('thousandsSeparator', value),
|
||||
getCurrencyDisplayMode: () => getOption('currencyDisplayMode'),
|
||||
setCurrencyDisplayMode: value => setOption('currencyDisplayMode', value),
|
||||
isShowAmountInHomePage: () => getOption('showAmountInHomePage'),
|
||||
setShowAmountInHomePage: value => setOption('showAmountInHomePage', value),
|
||||
isShowAccountBalance: () => getOption('showAccountBalance'),
|
||||
setShowAccountBalance: value => setOption('showAccountBalance', value),
|
||||
isEnableAnimate: () => getOption('animate'),
|
||||
|
||||
Reference in New Issue
Block a user