fix(product): hide save to system media for not apk env

This commit is contained in:
Timi
2026-11-19 17:25:10 +08:00
parent 7b68e7642f
commit d22e80241e
+3 -1
View File
@@ -29,7 +29,7 @@
</template> </template>
</t-cell> </t-cell>
</t-cell-group> </t-cell-group>
<t-cell-group title="照片" theme="card" v-entrance-transition> <t-cell-group v-if="isAndroidApp" title="照片" theme="card" v-entrance-transition>
<t-cell title="拍照后存入相册"> <t-cell title="拍照后存入相册">
<template #right-icon> <template #right-icon>
<t-switch <t-switch
@@ -79,6 +79,7 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { Capacitor } from "@capacitor/core";
import type { ThemeMode } from "@/store/globalUI"; import type { ThemeMode } from "@/store/globalUI";
import { useGlobalUIStore } from "@/store/globalUI"; import { useGlobalUIStore } from "@/store/globalUI";
import SegmentedSlider from "@/components/SegmentedSlider.vue"; import SegmentedSlider from "@/components/SegmentedSlider.vue";
@@ -90,6 +91,7 @@ defineOptions({
const globalUIStore = useGlobalUIStore(); const globalUIStore = useGlobalUIStore();
const settingStore = useSettingStore(); const settingStore = useSettingStore();
const isAndroidApp = Capacitor.getPlatform() === "android";
// ---------- 主题 ---------- // ---------- 主题 ----------