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

pull/3/head
Vitor Pamplona 2023-01-19 17:54:30 -05:00
rodzic 625bbaf35c
commit 94a228d78a
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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")
}
}
}