File search: improve handling of launcher theme and launcher backup file types

This commit is contained in:
MM20
2023-10-02 11:30:23 +02:00
parent 9d909e718c
commit e516848f4f
8 changed files with 26 additions and 9 deletions
@@ -42,7 +42,7 @@ fun CreateBackupSheet(
val backupLauncher = rememberLauncherForActivityResult(
contract = ActivityResultContracts.CreateDocument("application/vendor.de.mm20.launcher2.backup"),
contract = ActivityResultContracts.CreateDocument("application/vnd.de.mm20.launcher2.backup"),
onResult = {
if (it != null) viewModel.createBackup(it)
}