mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 04:57:59 +01:00
store temporarily editor files at the cacheDir, not filesDir
This commit is contained in:
parent
02bc49a259
commit
37d8f4babf
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ class NewEditActivity : SimpleActivity() {
|
||||||
|
|
||||||
settingsList.getSettingsModel(EditorSaveSettings::class.java)
|
settingsList.getSettingsModel(EditorSaveSettings::class.java)
|
||||||
.setExportFormat(EditorSaveSettings.FORMAT.AUTO)
|
.setExportFormat(EditorSaveSettings.FORMAT.AUTO)
|
||||||
.setOutputFilePath("$filesDir/editor/$filename")
|
.setOutputFilePath("$cacheDir/editor/$filename")
|
||||||
.savePolicy = EditorSaveSettings.SavePolicy.RETURN_SOURCE_OR_CREATE_OUTPUT_IF_NECESSARY
|
.savePolicy = EditorSaveSettings.SavePolicy.RETURN_SOURCE_OR_CREATE_OUTPUT_IF_NECESSARY
|
||||||
|
|
||||||
return settingsList
|
return settingsList
|
||||||
|
|
Loading…
Reference in a new issue