|
|
@@ -57,7 +57,6 @@ import com.iscs.bozzys.utils.BiometricKeyStore
|
|
|
import com.iscs.bozzys.utils.LogUtil
|
|
|
import com.iscs.bozzys.utils.Storage
|
|
|
import com.iscs.bozzys.utils.SystemUtil
|
|
|
-import com.iscs.bozzys.utils.SystemUtil.isBiometricCanUse
|
|
|
|
|
|
/**
|
|
|
* 打开登录页面
|
|
|
@@ -126,7 +125,7 @@ class PageLogin : PageBase() {
|
|
|
val state = vm.state
|
|
|
val tokenIv = Storage.readTokenIv()
|
|
|
// 指纹登录是否可用
|
|
|
- val fingerSupport = ctx.isBiometricCanUse() && tokenIv.isNotEmpty()
|
|
|
+ val fingerSupport = false //ctx.isBiometricCanUse() && tokenIv.isNotEmpty()
|
|
|
LaunchedEffect(Unit) {
|
|
|
// 处理基础Toast和Loading提示
|
|
|
vm.toast.initToast()
|
|
|
@@ -313,7 +312,7 @@ class PageLogin : PageBase() {
|
|
|
.padding(13.dp),
|
|
|
tint = Color(0xFF6B7280)
|
|
|
)
|
|
|
- Icon(
|
|
|
+ if (false) Icon(
|
|
|
painter = painterResource(R.drawable.qrcode),
|
|
|
contentDescription = null,
|
|
|
Modifier
|
|
|
@@ -324,7 +323,7 @@ class PageLogin : PageBase() {
|
|
|
.padding(13.dp),
|
|
|
tint = Color(0xFF6B7280)
|
|
|
)
|
|
|
- Icon(
|
|
|
+ if (false) Icon(
|
|
|
painter = painterResource(R.drawable.bluetooth),
|
|
|
contentDescription = null,
|
|
|
Modifier
|