mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-30 09:56:14 -05:00
Set correct authority to handle image choosed
This commit is contained in:
parent
2d9f062c27
commit
7698e74387
@ -29,7 +29,7 @@ Item
|
||||
if (Qt.platform.os === "android")
|
||||
{
|
||||
console.log("ImagePicker Android platform detected")
|
||||
mainWindow.addUriHandler("media", androidResult)
|
||||
mainWindow.addUriHandler("file", androidResult)
|
||||
androidImagePicker.openPicker()
|
||||
}
|
||||
else
|
||||
@ -40,7 +40,7 @@ Item
|
||||
|
||||
function androidResult (uri)
|
||||
{
|
||||
console.log("Android image uri found" , uri)
|
||||
console.log("@@@@@@@@@ Android image uri found" , uri)
|
||||
resultFile = uri
|
||||
mainWindow.delUriHandler("media", androidResult)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user