Skip to content

Commit 0cea914

Browse files
committed
fix(android): android file sync not working #3782
1 parent 25b5585 commit 0cea914

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/app/src/main/java/com/superproductivity/superproductivity/webview/JavaScriptInterface.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ class JavaScriptInterface(
459459
}
460460

461461
// File doesn't exist or was deleted successfully, so create it
462-
file = folder?.createFile("text/plain", filePath)
462+
file = folder?.createFile("application/json", filePath)
463463

464464
if (file != null) {
465465
Log.d("SuperProductivity", "File created successfully: ${file.uri}")

0 commit comments

Comments
 (0)