mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-25 19:02:45 -06:00
Merge pull request #11572 from t895/import-heuristic
android: Adjust valid user data check
This commit is contained in:
commit
33e2dce715
1 changed files with 2 additions and 1 deletions
|
@ -664,7 +664,8 @@ class MainActivity : AppCompatActivity(), ThemeProvider {
|
|||
checkStream.use { stream ->
|
||||
var ze: ZipEntry? = null
|
||||
while (stream.nextEntry?.also { ze = it } != null) {
|
||||
if (ze!!.name.trim() == "/config/config.ini") {
|
||||
val itemName = ze!!.name.trim()
|
||||
if (itemName == "/config/config.ini" || itemName == "config/config.ini") {
|
||||
isYuzuBackup = true
|
||||
return@use
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue