We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cf8f03 commit fd02dceCopy full SHA for fd02dce
android/app/src/main/java/com/httpsms/LoginActivity.kt
@@ -45,15 +45,11 @@ class LoginActivity : AppCompatActivity() {
45
val apiKeyInputLayout = findViewById<TextInputLayout>(R.id.loginApiKeyTextInputLayout)
46
val apiKeyInput = findViewById<TextInputEditText>(R.id.loginApiKeyTextInput)
47
48
- // 设置点击监听器启动扫描
49
apiKeyInput.setOnClickListener {
50
- startQrCodeScan() // 触发 QR Code 扫描
+ startQrCodeScan()
51
}
52
53
- // 设置 endIcon 的点击事件监听器
54
apiKeyInputLayout.setEndIconOnClickListener {
55
- Toast.makeText(this, "End icon clicked", Toast.LENGTH_SHORT).show()
56
- // 在这里处理 endIcon 的点击事件,例如启动相机扫描
57
startQrCodeScan()
58
59
0 commit comments