summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPabloG02 <tioo23000@gmail.com>2023-05-31 23:58:01 +0200
committerbunnei <bunneidev@gmail.com>2023-06-03 09:06:06 +0200
commit401076427998d635bad45ac5f1472d70c29608f1 (patch)
treef6ae49a5c1dff49086e29fe060c85d4f79ffc6f1 /src
parentCheck if folder exists before letting the user import/export saves (diff)
downloadyuzu-401076427998d635bad45ac5f1472d70c29608f1.tar
yuzu-401076427998d635bad45ac5f1472d70c29608f1.tar.gz
yuzu-401076427998d635bad45ac5f1472d70c29608f1.tar.bz2
yuzu-401076427998d635bad45ac5f1472d70c29608f1.tar.lz
yuzu-401076427998d635bad45ac5f1472d70c29608f1.tar.xz
yuzu-401076427998d635bad45ac5f1472d70c29608f1.tar.zst
yuzu-401076427998d635bad45ac5f1472d70c29608f1.zip
Diffstat (limited to 'src')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt
index f623a4e1e..cf37838f9 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt
@@ -162,7 +162,7 @@ class ImportExportSavesFragment : DialogFragment() {
val file = DocumentFile.fromSingleUri(
context, DocumentsContract.buildDocumentUri(
DocumentProvider.AUTHORITY,
- "${DocumentProvider.ROOT_ID}/temp/${lastZipCreated?.name}"
+ "${DocumentProvider.ROOT_ID}/temp/${lastZipFile.name}"
)
)!!
val intent = Intent(Intent.ACTION_SEND)