This commit is contained in:
vfsfitvnm 2022-10-29 08:27:41 +02:00
parent a43b6f10e3
commit f3995b8c46

View file

@ -141,7 +141,9 @@ fun DatabaseSettings() {
text = "Import the database from the external storage",
onClick = {
try {
restoreLauncher.launch(arrayOf("application/vnd.sqlite3"))
restoreLauncher.launch(
arrayOf("application/vnd.sqlite3", "application/octet-stream")
)
} catch (e: ActivityNotFoundException) {
context.toast("Couldn't find an application to open documents")
}