mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 06:16:37 -04:00
Fixed "can't download map on Android" bug
This commit is contained in:
parent
375952f935
commit
c138fbc385
@ -55,7 +55,7 @@ class DropBox(){
|
|||||||
|
|
||||||
fun downloadFile(fileName:String):String{
|
fun downloadFile(fileName:String):String{
|
||||||
val response = dropboxApi("https://content.dropboxapi.com/2/files/download",
|
val response = dropboxApi("https://content.dropboxapi.com/2/files/download",
|
||||||
dropboxApiArg = "{\"path\":\"$fileName\"}")
|
contentType = "text/plain",dropboxApiArg = "{\"path\":\"$fileName\"}")
|
||||||
return response
|
return response
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user