From 9772d9ca625ededebc92105d996d45222a64bfdf Mon Sep 17 00:00:00 2001 From: MaysWind Date: Tue, 17 Mar 2026 00:16:37 +0800 Subject: [PATCH] support custom quick save button styles on the mobile transaction edit page --- pkg/models/user_app_cloud_setting.go | 1 + src/core/setting.ts | 8 +++- src/core/transaction.ts | 32 +++++++++++++++ src/locales/de.json | 5 +++ src/locales/en.json | 5 +++ src/locales/es.json | 5 +++ src/locales/fr.json | 5 +++ src/locales/helpers.ts | 2 + src/locales/it.json | 5 +++ src/locales/ja.json | 5 +++ src/locales/kn.json | 5 +++ src/locales/ko.json | 5 +++ src/locales/nl.json | 5 +++ src/locales/pt_BR.json | 5 +++ src/locales/ru.json | 5 +++ src/locales/sl.json | 5 +++ src/locales/ta.json | 5 +++ src/locales/th.json | 5 +++ src/locales/tr.json | 5 +++ src/locales/uk.json | 5 +++ src/locales/vi.json | 5 +++ src/locales/zh_Hans.json | 5 +++ src/locales/zh_Hant.json | 5 +++ src/stores/setting.ts | 7 ++++ .../base/settings/AppCloudSyncPageBase.ts | 1 + .../mobile/settings/PageSettingsPage.vue | 41 ++++++++++++++++++- src/views/mobile/transactions/EditPage.vue | 34 +++++++++++++-- 27 files changed, 215 insertions(+), 6 deletions(-) diff --git a/pkg/models/user_app_cloud_setting.go b/pkg/models/user_app_cloud_setting.go index e34760ca..6214a6c0 100644 --- a/pkg/models/user_app_cloud_setting.go +++ b/pkg/models/user_app_cloud_setting.go @@ -29,6 +29,7 @@ var ALL_ALLOWED_CLOUD_SYNC_APP_SETTING_KEY_TYPES = map[string]UserApplicationClo "showTotalAmountInTransactionListPage": USER_APPLICATION_CLOUD_SETTING_TYPE_BOOLEAN, "showTagInTransactionListPage": USER_APPLICATION_CLOUD_SETTING_TYPE_BOOLEAN, // Transaction Edit Page + "quickSaveButtonStyleInMobileTransactionListPage": USER_APPLICATION_CLOUD_SETTING_TYPE_NUMBER, "quickAddButtonActionInMobileTransactionEditPage": USER_APPLICATION_CLOUD_SETTING_TYPE_NUMBER, "autoSaveTransactionDraft": USER_APPLICATION_CLOUD_SETTING_TYPE_STRING, "autoGetCurrentGeoLocation": USER_APPLICATION_CLOUD_SETTING_TYPE_BOOLEAN, diff --git a/src/core/setting.ts b/src/core/setting.ts index b3a3d379..03645dbe 100644 --- a/src/core/setting.ts +++ b/src/core/setting.ts @@ -1,7 +1,10 @@ import { type WeekDayValue, WeekDay } from './datetime.ts'; import { TimezoneTypeForStatistics } from './timezone.ts'; import { CurrencySortingType } from './currency.ts'; -import { TransactionQuickAddButtonActionType } from './transaction.ts'; +import { + TransactionQuickSaveButtonStyle, + TransactionQuickAddButtonActionType +} from './transaction.ts'; import { CategoricalChartType, TrendChartType, @@ -44,6 +47,7 @@ export interface ApplicationSettings extends BaseApplicationSetting { overviewAccountFilterInHomePage: Record; overviewTransactionCategoryFilterInHomePage: Record; // Transaction List Page + quickSaveButtonStyleInMobileTransactionListPage: number; quickAddButtonActionInMobileTransactionEditPage: number; itemsCountInTransactionListPage: number; showTotalAmountInTransactionListPage: boolean; @@ -125,6 +129,7 @@ export const ALL_ALLOWED_CLOUD_SYNC_APP_SETTING_KEY_TYPES: Record = {}; + + public static readonly Disabled = new TransactionQuickSaveButtonStyle(0, 'Disabled'); + public static readonly BottomFixed = new TransactionQuickSaveButtonStyle(1, 'Bottom Fixed'); + public static readonly BottomLeftFloating = new TransactionQuickSaveButtonStyle(2, 'Bottom Left Floating'); + public static readonly BottomCenterFloating = new TransactionQuickSaveButtonStyle(3, 'Bottom Center Floating'); + public static readonly BottomRightFloating = new TransactionQuickSaveButtonStyle(4, 'Bottom Right Floating'); + + public static readonly Default = TransactionQuickSaveButtonStyle.BottomRightFloating; + + public readonly type: number; + public readonly name: string; + + private constructor(type: number, name: string) { + this.type = type; + this.name = name; + + TransactionQuickSaveButtonStyle.allInstances.push(this); + TransactionQuickSaveButtonStyle.allInstancesByType[type] = this; + } + + public static values(): TransactionQuickSaveButtonStyle[] { + return TransactionQuickSaveButtonStyle.allInstances; + } + + public static valueOf(type: number): TransactionQuickSaveButtonStyle | undefined { + return TransactionQuickSaveButtonStyle.allInstancesByType[type]; + } +} + export class TransactionQuickAddButtonActionType implements TypeAndName { private static readonly allInstances: TransactionQuickAddButtonActionType[] = []; private static readonly allInstancesByType: Record = {}; diff --git a/src/locales/de.json b/src/locales/de.json index 418e7671..bceb9819 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "Monatlichen Gesamtbetrag anzeigen", "Show Transaction Tags": "Transaktions-Tag anzeigen", "Transaction Edit Page": "Transaktionsbearbeitungsseite", + "Quick Save Button Style": "Quick Save Button Style", + "Bottom Left Floating": "Bottom Left Floating", + "Bottom Center Floating": "Bottom Center Floating", + "Bottom Right Floating": "Bottom Right Floating", + "Bottom Fixed": "Bottom Fixed", "Quick Add Button Action": "Quick Add Button Action", "Automatically Save Draft": "Entwurf automatisch speichern", "Always Show Confirmation": "Bestätigung jedes mal anzeigen", diff --git a/src/locales/en.json b/src/locales/en.json index dbadca96..70916f6d 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "Show Monthly Total Amount", "Show Transaction Tags": "Show Transaction Tags", "Transaction Edit Page": "Transaction Edit Page", + "Quick Save Button Style": "Quick Save Button Style", + "Bottom Left Floating": "Bottom Left Floating", + "Bottom Center Floating": "Bottom Center Floating", + "Bottom Right Floating": "Bottom Right Floating", + "Bottom Fixed": "Bottom Fixed", "Quick Add Button Action": "Quick Add Button Action", "Automatically Save Draft": "Automatically Save Draft", "Always Show Confirmation": "Always Show Confirmation", diff --git a/src/locales/es.json b/src/locales/es.json index 0a723063..cbe404d9 100644 --- a/src/locales/es.json +++ b/src/locales/es.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "Mostrar Importe Total Mensual", "Show Transaction Tags": "Mostrar Etiqueta de Transacción", "Transaction Edit Page": "Página de Edición de Transacciones", + "Quick Save Button Style": "Quick Save Button Style", + "Bottom Left Floating": "Bottom Left Floating", + "Bottom Center Floating": "Bottom Center Floating", + "Bottom Right Floating": "Bottom Right Floating", + "Bottom Fixed": "Bottom Fixed", "Quick Add Button Action": "Quick Add Button Action", "Automatically Save Draft": "Guardar Borrador Automáticamente", "Always Show Confirmation": "Mostrar Confirmación Cada Vez", diff --git a/src/locales/fr.json b/src/locales/fr.json index 62a4a77a..d6d461b0 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "Afficher le montant total mensuel", "Show Transaction Tags": "Afficher l'étiquette de transaction", "Transaction Edit Page": "Page de modification de transaction", + "Quick Save Button Style": "Quick Save Button Style", + "Bottom Left Floating": "Bottom Left Floating", + "Bottom Center Floating": "Bottom Center Floating", + "Bottom Right Floating": "Bottom Right Floating", + "Bottom Fixed": "Bottom Fixed", "Quick Add Button Action": "Quick Add Button Action", "Automatically Save Draft": "Enregistrer automatiquement le brouillon", "Always Show Confirmation": "Afficher la confirmation à chaque fois", diff --git a/src/locales/helpers.ts b/src/locales/helpers.ts index 7e9f73f9..4989767f 100644 --- a/src/locales/helpers.ts +++ b/src/locales/helpers.ts @@ -129,6 +129,7 @@ import { import { TransactionEditScopeType, + TransactionQuickSaveButtonStyle, TransactionQuickAddButtonActionType } from '@/core/transaction.ts'; @@ -2434,6 +2435,7 @@ export function useI18n() { getAllStatisticsDateAggregationTypes: (analysisType: StatisticsAnalysisType) => getLocalizedChartDateAggregationTypeAndDisplayName(analysisType, true), getAllStatisticsDateAggregationTypesWithShortName: (analysisType: StatisticsAnalysisType) => getLocalizedChartDateAggregationTypeAndDisplayName(analysisType, false), getAllTransactionEditScopeTypes: () => getLocalizedDisplayNameAndType(TransactionEditScopeType.values()), + getAllTransactionQuickSaveButtonStyles: () => getLocalizedDisplayNameAndType(TransactionQuickSaveButtonStyle.values()), getAllTransactionQuickAddButtonActionTypes: () => getLocalizedDisplayNameAndType(TransactionQuickAddButtonActionType.values()), getAllTransactionScheduledFrequencyTypes: () => getLocalizedDisplayNameAndType(ScheduledTemplateFrequencyType.values()), getAllImportTransactionColumnTypes: () => getLocalizedDisplayNameAndType(ImportTransactionColumnType.values()), diff --git a/src/locales/it.json b/src/locales/it.json index 8bbc574a..48b25d17 100644 --- a/src/locales/it.json +++ b/src/locales/it.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "Mostra importo totale mensile", "Show Transaction Tags": "Mostra tag transazione", "Transaction Edit Page": "Pagina modifica transazione", + "Quick Save Button Style": "Quick Save Button Style", + "Bottom Left Floating": "Bottom Left Floating", + "Bottom Center Floating": "Bottom Center Floating", + "Bottom Right Floating": "Bottom Right Floating", + "Bottom Fixed": "Bottom Fixed", "Quick Add Button Action": "Quick Add Button Action", "Automatically Save Draft": "Salva automaticamente bozza", "Always Show Confirmation": "Mostra conferma ogni volta", diff --git a/src/locales/ja.json b/src/locales/ja.json index 439d75da..93c157e8 100644 --- a/src/locales/ja.json +++ b/src/locales/ja.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "毎月の合計金額を表示", "Show Transaction Tags": "取引タグを表示", "Transaction Edit Page": "取引編集ページ", + "Quick Save Button Style": "Quick Save Button Style", + "Bottom Left Floating": "Bottom Left Floating", + "Bottom Center Floating": "Bottom Center Floating", + "Bottom Right Floating": "Bottom Right Floating", + "Bottom Fixed": "Bottom Fixed", "Quick Add Button Action": "Quick Add Button Action", "Automatically Save Draft": "下書きの自動保存", "Always Show Confirmation": "確認を毎回表示", diff --git a/src/locales/kn.json b/src/locales/kn.json index 9950183b..cb27abbf 100644 --- a/src/locales/kn.json +++ b/src/locales/kn.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "ಮಾಸಿಕ ಒಟ್ಟು ಮೊತ್ತ ತೋರಿಸಿ", "Show Transaction Tags": "ವಹಿವಾಟು ಟ್ಯಾಗ್ ತೋರಿಸಿ", "Transaction Edit Page": "ವಹಿವಾಟು ಸಂಪಾದನೆ ಪುಟ", + "Quick Save Button Style": "Quick Save Button Style", + "Bottom Left Floating": "Bottom Left Floating", + "Bottom Center Floating": "Bottom Center Floating", + "Bottom Right Floating": "Bottom Right Floating", + "Bottom Fixed": "Bottom Fixed", "Quick Add Button Action": "Quick Add Button Action", "Automatically Save Draft": "ಕರಡು ಸ್ವಯಂ ಉಳಿಸಿ", "Always Show Confirmation": "ಪ್ರತಿ ಬಾರಿ ದೃಢೀಕರಣ ತೋರಿಸಿ", diff --git a/src/locales/ko.json b/src/locales/ko.json index c4c37fc4..f1ec6d06 100644 --- a/src/locales/ko.json +++ b/src/locales/ko.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "월별 총 금액 표시", "Show Transaction Tags": "거래 태그 표시", "Transaction Edit Page": "거래 편집 페이지", + "Quick Save Button Style": "Quick Save Button Style", + "Bottom Left Floating": "Bottom Left Floating", + "Bottom Center Floating": "Bottom Center Floating", + "Bottom Right Floating": "Bottom Right Floating", + "Bottom Fixed": "Bottom Fixed", "Quick Add Button Action": "Quick Add Button Action", "Automatically Save Draft": "초안 자동 저장", "Always Show Confirmation": "매번 확인 표시", diff --git a/src/locales/nl.json b/src/locales/nl.json index b4804b6c..555b312a 100644 --- a/src/locales/nl.json +++ b/src/locales/nl.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "Maandelijks totaalbedrag tonen", "Show Transaction Tags": "Transactietag tonen", "Transaction Edit Page": "Transactiebewerkingspagina", + "Quick Save Button Style": "Quick Save Button Style", + "Bottom Left Floating": "Bottom Left Floating", + "Bottom Center Floating": "Bottom Center Floating", + "Bottom Right Floating": "Bottom Right Floating", + "Bottom Fixed": "Bottom Fixed", "Quick Add Button Action": "Quick Add Button Action", "Automatically Save Draft": "Concept automatisch opslaan", "Always Show Confirmation": "Elke keer bevestiging tonen", diff --git a/src/locales/pt_BR.json b/src/locales/pt_BR.json index b8c30ae7..9a08a578 100644 --- a/src/locales/pt_BR.json +++ b/src/locales/pt_BR.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "Mostrar Valor Total Mensal", "Show Transaction Tags": "Mostrar Tag da Transação", "Transaction Edit Page": "Página de Edição de Transação", + "Quick Save Button Style": "Quick Save Button Style", + "Bottom Left Floating": "Bottom Left Floating", + "Bottom Center Floating": "Bottom Center Floating", + "Bottom Right Floating": "Bottom Right Floating", + "Bottom Fixed": "Bottom Fixed", "Quick Add Button Action": "Ação do Botão de Adição Rápida", "Automatically Save Draft": "Salvar Rascunho Automaticamente", "Always Show Confirmation": "Mostrar Confirmação Toda Vez", diff --git a/src/locales/ru.json b/src/locales/ru.json index e3d5eb08..a8509d56 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "Показать общую сумму за месяц", "Show Transaction Tags": "Показать тег транзакции", "Transaction Edit Page": "Страница редактирования транзакции", + "Quick Save Button Style": "Quick Save Button Style", + "Bottom Left Floating": "Bottom Left Floating", + "Bottom Center Floating": "Bottom Center Floating", + "Bottom Right Floating": "Bottom Right Floating", + "Bottom Fixed": "Bottom Fixed", "Quick Add Button Action": "Действие кнопки быстрого добавления", "Automatically Save Draft": "Автоматически сохранять черновик", "Always Show Confirmation": "Показывать подтверждение каждый раз", diff --git a/src/locales/sl.json b/src/locales/sl.json index fdc9de01..271955e8 100644 --- a/src/locales/sl.json +++ b/src/locales/sl.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "Prikaži mesečni skupni znesek", "Show Transaction Tags": "Prikaži oznako transakcije", "Transaction Edit Page": "Stran za urejanje transakcij", + "Quick Save Button Style": "Quick Save Button Style", + "Bottom Left Floating": "Bottom Left Floating", + "Bottom Center Floating": "Bottom Center Floating", + "Bottom Right Floating": "Bottom Right Floating", + "Bottom Fixed": "Bottom Fixed", "Quick Add Button Action": "Quick Add Button Action", "Automatically Save Draft": "Samodejno shrani osnutek", "Always Show Confirmation": "Vsakič prikaži potrditev", diff --git a/src/locales/ta.json b/src/locales/ta.json index f75a5ed0..bda39233 100644 --- a/src/locales/ta.json +++ b/src/locales/ta.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "மாதாந்திர மொத்தம் தொகை காட்டு", "Show Transaction Tags": "பரிவர்த்தனை குறிச்சொல் காட்டு", "Transaction Edit Page": "பரிவர்த்தனை திருத்தம் பக்கம்", + "Quick Save Button Style": "Quick Save Button Style", + "Bottom Left Floating": "Bottom Left Floating", + "Bottom Center Floating": "Bottom Center Floating", + "Bottom Right Floating": "Bottom Right Floating", + "Bottom Fixed": "Bottom Fixed", "Quick Add Button Action": "Quick Add Button Action", "Automatically Save Draft": "வரைவு தானியங்கி சேமி", "Always Show Confirmation": "ஒவ்வொரு முறை அங்கீகாரம் காட்டு", diff --git a/src/locales/th.json b/src/locales/th.json index 78da67c2..2ff43ff8 100644 --- a/src/locales/th.json +++ b/src/locales/th.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "แสดงจำนวนเงินรวมรายเดือน", "Show Transaction Tags": "แสดงแท็กรายการ", "Transaction Edit Page": "หน้าการแก้ไขรายการ", + "Quick Save Button Style": "Quick Save Button Style", + "Bottom Left Floating": "Bottom Left Floating", + "Bottom Center Floating": "Bottom Center Floating", + "Bottom Right Floating": "Bottom Right Floating", + "Bottom Fixed": "Bottom Fixed", "Quick Add Button Action": "Quick Add Button Action", "Automatically Save Draft": "บันทึกร่างอัตโนมัติ", "Always Show Confirmation": "แสดงการยืนยันทุกครั้ง", diff --git a/src/locales/tr.json b/src/locales/tr.json index 0046d2f9..e18fe0d6 100644 --- a/src/locales/tr.json +++ b/src/locales/tr.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "Aylık Toplam Tutarı Göster", "Show Transaction Tags": "İşlem Etiketini Göster", "Transaction Edit Page": "İşlem Düzenleme Sayfası", + "Quick Save Button Style": "Quick Save Button Style", + "Bottom Left Floating": "Bottom Left Floating", + "Bottom Center Floating": "Bottom Center Floating", + "Bottom Right Floating": "Bottom Right Floating", + "Bottom Fixed": "Bottom Fixed", "Quick Add Button Action": "Quick Add Button Action", "Automatically Save Draft": "Taslağı Otomatik Kaydet", "Always Show Confirmation": "Her Seferinde Onay Göster", diff --git a/src/locales/uk.json b/src/locales/uk.json index 357fc84f..a4b1c702 100644 --- a/src/locales/uk.json +++ b/src/locales/uk.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "Показати місячну загальну суму", "Show Transaction Tags": "Показати тег транзакції", "Transaction Edit Page": "Сторінка редагування транзакції", + "Quick Save Button Style": "Quick Save Button Style", + "Bottom Left Floating": "Bottom Left Floating", + "Bottom Center Floating": "Bottom Center Floating", + "Bottom Right Floating": "Bottom Right Floating", + "Bottom Fixed": "Bottom Fixed", "Quick Add Button Action": "Quick Add Button Action", "Automatically Save Draft": "Автоматично зберігати чернетку", "Always Show Confirmation": "Показувати підтвердження щоразу", diff --git a/src/locales/vi.json b/src/locales/vi.json index b0b3cd85..f1499da0 100644 --- a/src/locales/vi.json +++ b/src/locales/vi.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "Hiển thị tổng số tiền hàng tháng", "Show Transaction Tags": "Hiển thị thẻ giao dịch", "Transaction Edit Page": "Trang chỉnh sửa giao dịch", + "Quick Save Button Style": "Quick Save Button Style", + "Bottom Left Floating": "Bottom Left Floating", + "Bottom Center Floating": "Bottom Center Floating", + "Bottom Right Floating": "Bottom Right Floating", + "Bottom Fixed": "Bottom Fixed", "Quick Add Button Action": "Quick Add Button Action", "Automatically Save Draft": "Tự động lưu bản nháp", "Always Show Confirmation": "Hiển thị xác nhận mỗi lần", diff --git a/src/locales/zh_Hans.json b/src/locales/zh_Hans.json index 588ce4c4..9fad8ff0 100644 --- a/src/locales/zh_Hans.json +++ b/src/locales/zh_Hans.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "显示月度总金额", "Show Transaction Tags": "显示交易标签", "Transaction Edit Page": "交易编辑页面", + "Quick Save Button Style": "快速保存按钮样式", + "Bottom Left Floating": "左下角悬浮", + "Bottom Center Floating": "底部居中悬浮", + "Bottom Right Floating": "右下角悬浮", + "Bottom Fixed": "底部固定", "Quick Add Button Action": "快速添加按钮操作", "Automatically Save Draft": "自动保存草稿", "Always Show Confirmation": "每次提示确认", diff --git a/src/locales/zh_Hant.json b/src/locales/zh_Hant.json index 9632f097..2fcda0d5 100644 --- a/src/locales/zh_Hant.json +++ b/src/locales/zh_Hant.json @@ -2255,6 +2255,11 @@ "Show Monthly Total Amount": "顯示月度總金額", "Show Transaction Tags": "顯示交易標籤", "Transaction Edit Page": "交易編輯頁面", + "Quick Save Button Style": "快速儲存按鈕樣式", + "Bottom Left Floating": "左下角浮動", + "Bottom Center Floating": "底部中央浮動", + "Bottom Right Floating": "右下浮動", + "Bottom Fixed": "底部固定", "Quick Add Button Action": "快速新增按鈕動作", "Automatically Save Draft": "自動儲存草稿", "Always Show Confirmation": "每次提示確認", diff --git a/src/stores/setting.ts b/src/stores/setting.ts index 94aa5707..f4243ea0 100644 --- a/src/stores/setting.ts +++ b/src/stores/setting.ts @@ -234,6 +234,12 @@ export const useSettingsStore = defineStore('settings', () => { } // Transaction Edit Page + function setQuickSaveButtonStyleInMobileTransactionListPage(value: number): void { + updateApplicationSettingsValue('quickSaveButtonStyleInMobileTransactionListPage', value); + appSettings.value.quickSaveButtonStyleInMobileTransactionListPage = value; + updateUserApplicationCloudSettingValue('quickSaveButtonStyleInMobileTransactionListPage', value); + } + function setQuickAddButtonActionInMobileTransactionEditPage(value: number): void { updateApplicationSettingsValue('quickAddButtonActionInMobileTransactionEditPage', value); appSettings.value.quickAddButtonActionInMobileTransactionEditPage = value; @@ -537,6 +543,7 @@ export const useSettingsStore = defineStore('settings', () => { setShowTotalAmountInTransactionListPage, setShowTagInTransactionListPage, // -- Transaction Edit Page + setQuickSaveButtonStyleInMobileTransactionListPage, setQuickAddButtonActionInMobileTransactionEditPage, setAutoSaveTransactionDraft, setAutoGetCurrentGeoLocation, diff --git a/src/views/base/settings/AppCloudSyncPageBase.ts b/src/views/base/settings/AppCloudSyncPageBase.ts index ce4771f0..fa378f68 100644 --- a/src/views/base/settings/AppCloudSyncPageBase.ts +++ b/src/views/base/settings/AppCloudSyncPageBase.ts @@ -53,6 +53,7 @@ export const ALL_APPLICATION_CLOUD_SETTINGS: CategorizedApplicationCloudSettingI { categoryName: 'Transaction Edit Page', items: [ + { settingKey: 'quickSaveButtonStyleInMobileTransactionListPage', settingName: 'Quick Save Button Style', mobile: true, desktop: false }, { settingKey: 'quickAddButtonActionInMobileTransactionEditPage', settingName: 'Quick Add Button Action', mobile: true, desktop: false }, { settingKey: 'autoSaveTransactionDraft', settingName: 'Automatically Save Draft', mobile: true, desktop: true }, { settingKey: 'autoGetCurrentGeoLocation', settingName: 'Automatically Add Geolocation', mobile: true, desktop: true }, diff --git a/src/views/mobile/settings/PageSettingsPage.vue b/src/views/mobile/settings/PageSettingsPage.vue index 7ce56d0b..a47740f8 100644 --- a/src/views/mobile/settings/PageSettingsPage.vue +++ b/src/views/mobile/settings/PageSettingsPage.vue @@ -95,6 +95,33 @@ + + + + + + +