Skip to content

Commit

Permalink
fix: added dummy boolean
Browse files Browse the repository at this point in the history
not sure if required
  • Loading branch information
ihadeed committed Mar 6, 2016
1 parent 3ec25fa commit 2caa151
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugins/flashlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ export class Flashlight {
@Cordova({
sync: true
})
static isSwitchedOn() {}
static isSwitchedOn() : boolean {
// DUMMY BOOLEAN, @Cordova decorator will replace value.
return true;
}

}

0 comments on commit 2caa151

Please sign in to comment.