Fix #536
This commit is contained in:
parent
a43b6f10e3
commit
f3995b8c46
1 changed files with 3 additions and 1 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue