From 0c4ae814066238d20dd988794be7d015358b7227 Mon Sep 17 00:00:00 2001 From: vfsfitvnm Date: Fri, 9 Dec 2022 14:59:48 +0100 Subject: [PATCH] Fix #724 --- .../vimusic/ui/screens/settings/DatabaseSettings.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/screens/settings/DatabaseSettings.kt b/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/screens/settings/DatabaseSettings.kt index 02560f5..fe0c892 100644 --- a/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/screens/settings/DatabaseSettings.kt +++ b/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/screens/settings/DatabaseSettings.kt @@ -142,7 +142,11 @@ fun DatabaseSettings() { onClick = { try { restoreLauncher.launch( - arrayOf("application/vnd.sqlite3", "application/octet-stream") + arrayOf( + "application/vnd.sqlite3", + "application/x-sqlite3", + "application/octet-stream" + ) ) } catch (e: ActivityNotFoundException) { context.toast("Couldn't find an application to open documents")