diff --git a/voipms-sms/src/main/kotlin/net/kourlas/voipms_sms/preferences/fragments/DatabasePreferencesFragment.kt b/voipms-sms/src/main/kotlin/net/kourlas/voipms_sms/preferences/fragments/DatabasePreferencesFragment.kt index 9d31a8f..e13331b 100644 --- a/voipms-sms/src/main/kotlin/net/kourlas/voipms_sms/preferences/fragments/DatabasePreferencesFragment.kt +++ b/voipms-sms/src/main/kotlin/net/kourlas/voipms_sms/preferences/fragments/DatabasePreferencesFragment.kt @@ -93,7 +93,8 @@ class DatabasePreferencesFragment : PreferenceFragmentCompat() { try { importActivityResultLauncher.launch( arrayOf( - SQLITE_MIME_TYPE + SQLITE_MIME_TYPE, + OCTET_STREAM_MIME_TYPE ) ) } catch (_: ActivityNotFoundException) { @@ -317,6 +318,7 @@ class DatabasePreferencesFragment : PreferenceFragmentCompat() { } companion object { - private const val SQLITE_MIME_TYPE = "application/vnd.sqlite3" + private const val SQLITE_MIME_TYPE = "application/x-sqlite3" + private const val OCTET_STREAM_MIME_TYPE = "application/octet-stream" } } \ No newline at end of file