Skip to content

Commit

Permalink
Show Native File Picker as a file only picker for vcf import
Browse files Browse the repository at this point in the history
Close: #7919
  • Loading branch information
hrb-hub committed Nov 11, 2024
1 parent ef8465a commit d10c131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mail-app/contacts/view/ImportAsVCard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { isApp } from "../../../common/api/common/Env.js"

export async function importAsVCard() {
const allowedExtensions = ["vcf"]
const contactFiles = isApp() ? await showNativeFilePicker(allowedExtensions) : await showFileChooser(true, allowedExtensions)
const contactFiles = isApp() ? await showNativeFilePicker(allowedExtensions, true) : await showFileChooser(true, allowedExtensions)
if (contactFiles.length <= 0) return
return showProgressDialog(
"pleaseWait_msg",
Expand Down

0 comments on commit d10c131

Please sign in to comment.