mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-24 14:11:18 +08:00
fix(touchid): make isAvailable static
This commit is contained in:
parent
0315e63782
commit
c23f5e90dc
@ -53,7 +53,7 @@ export class TouchID {
|
||||
* @return {Promise} Returns a Promise that resolves if yes, rejects if no.
|
||||
*/
|
||||
@Cordova()
|
||||
isAvailable(): Promise<any> { return; }
|
||||
static isAvailable(): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Show TouchID dialog and wait for a fingerprint scan. If user taps 'Enter Password' button, brings up standard system passcode screen.
|
||||
|
Loading…
x
Reference in New Issue
Block a user