feat: 修复bug

pull/248/head
gedoor 5 years ago
parent bb61114ac7
commit e0add796c8
  1. 5
      app/src/main/java/io/legado/app/ui/config/BackupRestoreUi.kt

@ -190,10 +190,11 @@ object BackupRestoreUi {
AppConfig.backupPath = uri.toString() AppConfig.backupPath = uri.toString()
} }
} }
oldDataRequestCode -> oldDataRequestCode -> if (resultCode == RESULT_OK) {
if (resultCode == RESULT_OK) data?.data?.let { uri -> data?.data?.let { uri ->
ImportOldData.importUri(uri) ImportOldData.importUri(uri)
} }
}
} }
} }

Loading…
Cancel
Save