mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-22 21:51:57 +02:00
Simplifying the name of the "Add Image from Gallery" button
This commit is contained in:
@@ -48,14 +48,14 @@ fun UploadFromGallery(onImageChosen: (Uri) -> Unit) {
|
|||||||
showGallerySelect = true
|
showGallerySelect = true
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
Text("Add Image from Gallery")
|
Text("Upload Image")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Column {
|
Column {
|
||||||
Button(onClick = { cameraPermissionState.launchPermissionRequest() }) {
|
Button(onClick = { cameraPermissionState.launchPermissionRequest() }) {
|
||||||
Text("Add Image from Gallery")
|
Text("Upload Image")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user