fix: initial protected save not saving with correct filetype

This commit is contained in:
rebelonion 2024-02-08 06:31:09 -06:00
parent 4aa88244ed
commit 7879fe4355

View file

@ -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")