mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
support for disabling the app’s built-in swipe-back navigation (#249)
This commit is contained in:
@@ -155,6 +155,11 @@ export const useSettingsStore = defineStore('settings', () => {
|
||||
updateUserApplicationCloudSettingValue('showAccountBalance', value);
|
||||
}
|
||||
|
||||
function setEnableSwipeBack(value: boolean): void {
|
||||
updateApplicationSettingsValue('swipeBack', value);
|
||||
appSettings.value.swipeBack = value;
|
||||
}
|
||||
|
||||
function setEnableAnimate(value: boolean): void {
|
||||
updateApplicationSettingsValue('animate', value);
|
||||
appSettings.value.animate = value;
|
||||
@@ -430,6 +435,7 @@ export const useSettingsStore = defineStore('settings', () => {
|
||||
setTimeZone,
|
||||
setAutoUpdateExchangeRatesData,
|
||||
setShowAccountBalance,
|
||||
setEnableSwipeBack,
|
||||
setEnableAnimate,
|
||||
// -- Application Lock
|
||||
setEnableApplicationLock,
|
||||
|
||||
Reference in New Issue
Block a user