Fixed "can't download map on Android" bug

This commit is contained in:
Yair Morgenstern
2019-08-07 22:14:23 +03:00
parent 375952f935
commit c138fbc385

View File

@ -55,7 +55,7 @@ class DropBox(){
fun downloadFile(fileName:String):String{
val response = dropboxApi("https://content.dropboxapi.com/2/files/download",
dropboxApiArg = "{\"path\":\"$fileName\"}")
contentType = "text/plain",dropboxApiArg = "{\"path\":\"$fileName\"}")
return response
}