mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-08 14:03:53 +02:00
update tauri
This commit is contained in:
@@ -193,9 +193,7 @@ class CameraPlugin(private val activity: Activity): Plugin(activity) {
|
||||
*/
|
||||
@PermissionCallback
|
||||
private fun cameraPermissionsCallback(invoke: Invoke) {
|
||||
// TODO: invoke.methodName()
|
||||
val methodName = "pickImages"
|
||||
if (methodName == "pickImages") {
|
||||
if (invoke.command == "pickImages") {
|
||||
openPhotos(invoke, multiple = true, skipPermission = true)
|
||||
} else {
|
||||
if (settings.source === CameraSource.CAMERA && getPermissionState(CAMERA) !== PermissionState.GRANTED) {
|
||||
|
||||
Reference in New Issue
Block a user