1
0
Fork 0

fixed importing words causing a crash on some devices

This commit is contained in:
sspanak 2024-08-08 17:13:20 +03:00 committed by Dimo Karaivanov
parent d8b791dd40
commit da846c44bc

View file

@ -103,7 +103,7 @@ public class ItemImportCustomWords extends ItemProcessCustomWordsAbstract {
Intent intent = new Intent()
.addCategory(Intent.CATEGORY_OPENABLE)
.setType(CustomWordFile.MIME_TYPE)
.setAction(Intent.ACTION_GET_CONTENT);
.setAction(Intent.ACTION_OPEN_DOCUMENT);
importCustomWordsLauncher.launch(intent);
}