chore: gallery
This commit is contained in:
1 parent
b2859d138a
commit
dbd1294248
2 files changed
+4
-2
No files matched your search
@@ -44,6 +44,7 @@ import coil.compose.AsyncImage
|
||||
import coil.request.ImageRequest
|
||||
import com.hinnka.mycamera.R
|
||||
import com.hinnka.mycamera.gallery.PhotoData
|
||||
import com.hinnka.mycamera.ui.camera.autoRotate
|
||||
import com.hinnka.mycamera.ui.theme.AccentOrange
|
||||
import com.hinnka.mycamera.viewmodel.GalleryViewModel
|
||||
|
||||
@@ -321,6 +322,7 @@ private fun PhotoGridItem(
|
||||
onClick = onClick,
|
||||
onLongClick = onLongClick
|
||||
)
|
||||
.autoRotate()
|
||||
) {
|
||||
// 照片缩略图
|
||||
AsyncImage(
|
||||
|
||||
@@ -150,7 +150,7 @@ fun PhotoEditScreen(
|
||||
}
|
||||
|
||||
// 导出(烘焙)按钮
|
||||
IconButton(
|
||||
/*IconButton(
|
||||
onClick = { showExportDialog = true },
|
||||
enabled = !isSaving
|
||||
) {
|
||||
@@ -159,7 +159,7 @@ fun PhotoEditScreen(
|
||||
contentDescription = "Export",
|
||||
tint = Color.White
|
||||
)
|
||||
}
|
||||
}*/
|
||||
},
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = Color.Black
|
||||
|
||||
Reference in new issue
Block a user