diff --git a/app/src/main/java/com/hinnka/mycamera/ui/gallery/GalleryDetailScreen.kt b/app/src/main/java/com/hinnka/mycamera/ui/gallery/GalleryDetailScreen.kt index 48110e95..9ecb7e03 100644 --- a/app/src/main/java/com/hinnka/mycamera/ui/gallery/GalleryDetailScreen.kt +++ b/app/src/main/java/com/hinnka/mycamera/ui/gallery/GalleryDetailScreen.kt @@ -589,28 +589,15 @@ fun GalleryDetailScreen( text = { Column { Text(stringResource(R.string.delete_confirm)) - /*if (viewModel.selectedTab == GalleryTab.PHOTON) { + if (viewModel.selectedTab == GalleryTab.PHOTON) { Spacer(modifier = Modifier.height(12.dp)) - Row( - verticalAlignment = Alignment.CenterVertically, - modifier = Modifier.clickable { deleteExported = !deleteExported } - ) { - Checkbox( - checked = deleteExported, - onCheckedChange = { deleteExported = it }, - colors = CheckboxDefaults.colors( - checkedColor = Color(0xFFFF6B35), - uncheckedColor = Color.White.copy(alpha = 0.6f) - ) - ) - Spacer(modifier = Modifier.width(8.dp)) - Text( - text = stringResource(R.string.delete_exported_photos), - color = Color.White.copy(alpha = 0.9f), - fontSize = 14.sp - ) - } - }*/ + Text( + text = stringResource(R.string.delete_system_warning), + color = Color.Red, + fontSize = 12.sp, + lineHeight = 16.sp + ) + } } }, confirmButton = { diff --git a/app/src/main/java/com/hinnka/mycamera/ui/gallery/GalleryScreen.kt b/app/src/main/java/com/hinnka/mycamera/ui/gallery/GalleryScreen.kt index 48f19362..c9312994 100644 --- a/app/src/main/java/com/hinnka/mycamera/ui/gallery/GalleryScreen.kt +++ b/app/src/main/java/com/hinnka/mycamera/ui/gallery/GalleryScreen.kt @@ -483,28 +483,15 @@ fun GalleryScreen( Text( text = stringResource(R.string.delete_multiple_confirm, selectedPhotos.size) ) - /*if (viewModel.selectedTab == GalleryTab.PHOTON) { + if (viewModel.selectedTab == GalleryTab.PHOTON) { Spacer(modifier = Modifier.height(12.dp)) - Row( - verticalAlignment = Alignment.CenterVertically, - modifier = Modifier.clickable { deleteExported = !deleteExported } - ) { - Checkbox( - checked = deleteExported, - onCheckedChange = { deleteExported = it }, - colors = CheckboxDefaults.colors( - checkedColor = Color(0xFFFF6B35), - uncheckedColor = Color.White.copy(alpha = 0.6f) - ) - ) - Spacer(modifier = Modifier.width(8.dp)) - Text( - text = stringResource(R.string.delete_exported_photos), - color = Color.White.copy(alpha = 0.9f), - fontSize = 14.sp - ) - } - }*/ + Text( + text = stringResource(R.string.delete_system_warning), + color = Color.Red, + fontSize = 12.sp, + lineHeight = 16.sp + ) + } } }, confirmButton = { diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 2e644215..54a04584 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -107,6 +107,7 @@ 删除这张照片吗? 删除 %d 张照片吗? 同时删除系统相册中的导出图 + 注意:此操作将同步删除已导出至系统相册的照片。系统会弹出删除确认,即使拒绝也不影响删除 App 内的照片。 暂无照片 照片信息 视频信息 diff --git a/app/src/main/res/values-zh-rHK/strings.xml b/app/src/main/res/values-zh-rHK/strings.xml index 235fbb1e..15ce7ab9 100644 --- a/app/src/main/res/values-zh-rHK/strings.xml +++ b/app/src/main/res/values-zh-rHK/strings.xml @@ -65,9 +65,11 @@ 原始 重設 亮度 - 要刪除這張相片嗎? - 要刪除 %1$d 張相片嗎? - 同時刪除系統相簿中的匯出圖 + 刪除這張照片嗎? + 刪除 %d 張照片嗎? + 同時刪除系統相冊中的導出圖 + 注意:此操作將同步刪除已匯出至系統相簿的照片。系統會彈出刪除確認,即使拒絕也不影響刪除 App 內的相片。 + 暫無相片 相片資訊 LUT diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 1b4b7c4d..74e9867e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -109,6 +109,7 @@ Delete this photo? Delete %d photos? Also delete from system gallery + Note: Exported photos in the system gallery will also be removed. A system prompt will appear; declining it will only cancel the system deletion, while the app version will still be deleted. No photos yet Photo Info Video Info