Skip to content

Commit 1088637

Browse files
Update biometrics.md (#225)
updated parameter to receive class instead of boolean, because provided solution was not working in current version, tested in latest version
1 parent 4f09047 commit 1088637

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/docs/mobile/1/apis/biometrics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ use Livewire\Attributes\On;
3535
use Native\Mobile\Events\Biometric\Completed;
3636

3737
#[On('native:'.Completed::class)]
38-
public function handleBiometricAuth(bool $success)
38+
public function handle(Completed $event)
3939
{
40-
if ($success) {
40+
if ($event->success) {
4141
// User authenticated successfully
4242
$this->unlockSecureFeature();
4343
} else {

0 commit comments

Comments
 (0)