We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16fbd91 commit 941ef6fCopy full SHA for 941ef6f
image_picker/plugin.go
@@ -54,7 +54,7 @@ func (p *ImagePickerPlugin) handlePickImage(arguments interface{}) (reply interf
54
}
55
56
func (p *ImagePickerPlugin) handlePickVideo(arguments interface{}) (reply interface{}, err error) {
57
- argsMap := arguments.(map[string]interface{})
+ argsMap := arguments.(map[interface{}]interface{})
58
switch argsMap["source"].(int32) {
59
case sourceCamera:
60
return nil, errors.New("source camera is not yet supported by image_picker desktop plugin")
0 commit comments