Rename JSON import constants to better reflect contents

This commit is contained in:
Ensar Sarajčić 2023-07-15 13:59:58 +02:00
parent e825e44f54
commit 0ad178fddb
2 changed files with 3 additions and 2 deletions

View file

@ -626,8 +626,8 @@ class MainActivity : SimpleActivity() {
if (isQPlus()) {
Intent(Intent.ACTION_GET_CONTENT).apply {
addCategory(Intent.CATEGORY_OPENABLE)
type = EXPORT_MIME_TYPE
putExtra(Intent.EXTRA_MIME_TYPES, arrayOf(EXPORT_MIME_TYPE, XML_IMPORT_MIME_TYPE))
type = JSON_IMPORT_MIME_TYPE
putExtra(Intent.EXTRA_MIME_TYPES, arrayOf(JSON_IMPORT_MIME_TYPE, XML_IMPORT_MIME_TYPE))
try {
startActivityForResult(this, PICK_IMPORT_SOURCE_INTENT)