Fix #724
This commit is contained in:
@@ -142,7 +142,11 @@ fun DatabaseSettings() {
|
|||||||
onClick = {
|
onClick = {
|
||||||
try {
|
try {
|
||||||
restoreLauncher.launch(
|
restoreLauncher.launch(
|
||||||
arrayOf("application/vnd.sqlite3", "application/octet-stream")
|
arrayOf(
|
||||||
|
"application/vnd.sqlite3",
|
||||||
|
"application/x-sqlite3",
|
||||||
|
"application/octet-stream"
|
||||||
|
)
|
||||||
)
|
)
|
||||||
} catch (e: ActivityNotFoundException) {
|
} catch (e: ActivityNotFoundException) {
|
||||||
context.toast("Couldn't find an application to open documents")
|
context.toast("Couldn't find an application to open documents")
|
||||||
|
|||||||
Reference in New Issue
Block a user