From 7879fe4355dacc586c9df0d6af6e695fc7dad8ae Mon Sep 17 00:00:00 2001 From: rebelonion <87634197+rebelonion@users.noreply.github.com> Date: Thu, 8 Feb 2024 06:31:09 -0600 Subject: [PATCH] fix: initial protected save not saving with correct filetype --- app/src/main/java/ani/dantotsu/Functions.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/ani/dantotsu/Functions.kt b/app/src/main/java/ani/dantotsu/Functions.kt index 623b8aa7..f8756e39 100644 --- a/app/src/main/java/ani/dantotsu/Functions.kt +++ b/app/src/main/java/ani/dantotsu/Functions.kt @@ -651,7 +651,7 @@ fun savePrefs( context: Context, password: CharArray ): File? { - var file = File(path, "$title.ani") + var file = File(path, "$title.sani") var counter = 1 while (file.exists()) { file = File(path, "${title}_${counter}.sani")