support always showing transaction pictures in transaction edit page for mobile version

This commit is contained in:
MaysWind
2025-05-28 00:18:55 +08:00
parent 626d3895aa
commit b3a666f876
14 changed files with 38 additions and 3 deletions
+3 -1
View File
@@ -620,7 +620,9 @@ const showScheduledStartDateSheet = ref<boolean>(false);
const showScheduledEndDateSheet = ref<boolean>(false);
const showGeoLocationMapSheet = ref<boolean>(false);
const showTransactionTagSheet = ref<boolean>(false);
const showTransactionPictures = ref<boolean>(false);
const showTransactionPictures = ref<boolean>(pageTypeAndMode?.type === TransactionEditPageType.Transaction
&& (pageTypeAndMode?.mode === TransactionEditPageMode.Add || pageTypeAndMode?.mode === TransactionEditPageMode.Edit)
&& settingsStore.appSettings.alwaysShowTransactionPicturesInMobileTransactionEditPage);
const isDarkMode = computed<boolean>(() => environmentsStore.framework7DarkMode || false);