Skip to content

Commit

Permalink
unocss
Browse files Browse the repository at this point in the history
  • Loading branch information
sudoskys committed May 8, 2024
1 parent 8e1502b commit e78df9a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {useWebAppPopup} from 'vue-tg'
import {ref} from "vue";
const token = ref<string | undefined>(undefined)
const isBiometricInited = ref<boolean>(false)
const isBiometricInitialized = ref<boolean>(false)
const popup = useWebAppPopup()
const WebApp = useWebApp();
const WebAppBiometricManager = useWebAppBiometricManager();
Expand Down Expand Up @@ -46,10 +46,10 @@ WebAppBiometricManager.initBiometric(
console.log('Biometric initialized')
if (WebAppBiometricManager.isBiometricAvailable) {
console.log('Biometric available')
isBiometricInited.value = true
isBiometricInitialized.value = true
} else {
console.log('Biometric not available')
isBiometricInited.value = false
isBiometricInitialized.value = false
}
}
)
Expand Down Expand Up @@ -78,7 +78,7 @@ WebApp.ready()
<v-card
class="mx-5 ma-5"
prepend-icon="$vuetify"
v-if="WebApp.version>='5.2' && isBiometricInited"
v-if="WebApp.version>='5.2' && isBiometricInitialized"
>
<template v-slot:title>
<span class="font-weight-black">Biometric Auth</span>
Expand Down

0 comments on commit e78df9a

Please sign in to comment.