|
@@ -182,7 +182,11 @@ fun Attachments(modifier: Modifier, onAttachment: (List<Uri>) -> Unit) {
|
|
permissionLauncherFiles.launch(Manifest.permission.READ_EXTERNAL_STORAGE)
|
|
permissionLauncherFiles.launch(Manifest.permission.READ_EXTERNAL_STORAGE)
|
|
},
|
|
},
|
|
text = {
|
|
text = {
|
|
- Text(text = "File", style = MaterialTheme.typography.bodySmall)
|
|
|
|
|
|
+ Text(
|
|
|
|
+ text = "File",
|
|
|
|
+ color = MaterialTheme.colorScheme.onSurface,
|
|
|
|
+ style = MaterialTheme.typography.bodySmall
|
|
|
|
+ )
|
|
}) {
|
|
}) {
|
|
Icon(
|
|
Icon(
|
|
imageVector = Icons.Default.AttachFile,
|
|
imageVector = Icons.Default.AttachFile,
|
|
@@ -198,7 +202,11 @@ fun Attachments(modifier: Modifier, onAttachment: (List<Uri>) -> Unit) {
|
|
)
|
|
)
|
|
permissionLauncherFiles.launch(Manifest.permission.READ_EXTERNAL_STORAGE)
|
|
permissionLauncherFiles.launch(Manifest.permission.READ_EXTERNAL_STORAGE)
|
|
}, text = {
|
|
}, text = {
|
|
- Text(text = "Gallery", style = MaterialTheme.typography.bodySmall)
|
|
|
|
|
|
+ Text(
|
|
|
|
+ text = "Gallery",
|
|
|
|
+ color = MaterialTheme.colorScheme.onSurface,
|
|
|
|
+ style = MaterialTheme.typography.bodySmall
|
|
|
|
+ )
|
|
}) {
|
|
}) {
|
|
Icon(
|
|
Icon(
|
|
imageVector = Icons.Default.Image,
|
|
imageVector = Icons.Default.Image,
|
|
@@ -212,7 +220,11 @@ fun Attachments(modifier: Modifier, onAttachment: (List<Uri>) -> Unit) {
|
|
AttachmentButton(color = Color.Red, onClick = {
|
|
AttachmentButton(color = Color.Red, onClick = {
|
|
permissionLauncherCamera.launch(Manifest.permission.CAMERA)
|
|
permissionLauncherCamera.launch(Manifest.permission.CAMERA)
|
|
}, text = {
|
|
}, text = {
|
|
- Text(text = "Photo", style = MaterialTheme.typography.bodySmall)
|
|
|
|
|
|
+ Text(
|
|
|
|
+ text = "Photo",
|
|
|
|
+ color = MaterialTheme.colorScheme.onSurface,
|
|
|
|
+ style = MaterialTheme.typography.bodySmall
|
|
|
|
+ )
|
|
}) {
|
|
}) {
|
|
Icon(
|
|
Icon(
|
|
imageVector = Icons.Default.PhotoCamera,
|
|
imageVector = Icons.Default.PhotoCamera,
|
|
@@ -227,7 +239,11 @@ fun Attachments(modifier: Modifier, onAttachment: (List<Uri>) -> Unit) {
|
|
)
|
|
)
|
|
permissionLauncherFiles.launch(Manifest.permission.READ_EXTERNAL_STORAGE)
|
|
permissionLauncherFiles.launch(Manifest.permission.READ_EXTERNAL_STORAGE)
|
|
}, text = {
|
|
}, text = {
|
|
- Text(text = "Audio", style = MaterialTheme.typography.bodySmall)
|
|
|
|
|
|
+ Text(
|
|
|
|
+ text = "Audio",
|
|
|
|
+ color = MaterialTheme.colorScheme.onSurface,
|
|
|
|
+ style = MaterialTheme.typography.bodySmall
|
|
|
|
+ )
|
|
}) {
|
|
}) {
|
|
Icon(
|
|
Icon(
|
|
imageVector = Icons.Default.Headset,
|
|
imageVector = Icons.Default.Headset,
|
|
@@ -246,7 +262,11 @@ fun Attachments(modifier: Modifier, onAttachment: (List<Uri>) -> Unit) {
|
|
)
|
|
)
|
|
)
|
|
)
|
|
}, text = {
|
|
}, text = {
|
|
- Text(text = "Video", style = MaterialTheme.typography.bodySmall)
|
|
|
|
|
|
+ Text(
|
|
|
|
+ text = "Video",
|
|
|
|
+ color = MaterialTheme.colorScheme.onSurface,
|
|
|
|
+ style = MaterialTheme.typography.bodySmall
|
|
|
|
+ )
|
|
}) {
|
|
}) {
|
|
Icon(
|
|
Icon(
|
|
imageVector = Icons.Default.Camera,
|
|
imageVector = Icons.Default.Camera,
|
|
@@ -256,7 +276,11 @@ fun Attachments(modifier: Modifier, onAttachment: (List<Uri>) -> Unit) {
|
|
}
|
|
}
|
|
Spacer(modifier = Modifier.size(32.dp))
|
|
Spacer(modifier = Modifier.size(32.dp))
|
|
AttachmentButton(color = Color.BlueSky, onClick = {}, text = {
|
|
AttachmentButton(color = Color.BlueSky, onClick = {}, text = {
|
|
- Text(text = "Location", style = MaterialTheme.typography.bodySmall)
|
|
|
|
|
|
+ Text(
|
|
|
|
+ text = "Location",
|
|
|
|
+ color = MaterialTheme.colorScheme.onSurface,
|
|
|
|
+ style = MaterialTheme.typography.bodySmall
|
|
|
|
+ )
|
|
}) {
|
|
}) {
|
|
Icon(
|
|
Icon(
|
|
imageVector = Icons.Default.LocationOn,
|
|
imageVector = Icons.Default.LocationOn,
|