Skip to content

Commit

Permalink
feat: add print into "isAvailable" call
Browse files Browse the repository at this point in the history
  • Loading branch information
acezard committed Nov 27, 2023
1 parent bbf7cdb commit 5866758
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libs/intents/localMethods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ const isAvailable = (featureName: string): Promise<boolean> => {
return Promise.resolve(true)
} else if (featureName === 'scanner') {
return Promise.resolve(isScannerAvailable())
} else if (featureName === 'print') {
return Promise.resolve(true)
}

return Promise.resolve(false)
Expand Down

0 comments on commit 5866758

Please sign in to comment.