Simplifying the name of the "Add Image from Gallery" button

This commit is contained in:
Vitor Pamplona
2023-01-19 17:54:30 -05:00
parent 625bbaf35c
commit 94a228d78a

View File

@@ -48,14 +48,14 @@ fun UploadFromGallery(onImageChosen: (Uri) -> Unit) {
showGallerySelect = true
}
) {
Text("Add Image from Gallery")
Text("Upload Image")
}
}
}
} else {
Column {
Button(onClick = { cameraPermissionState.launchPermissionRequest() }) {
Text("Add Image from Gallery")
Text("Upload Image")
}
}
}