mirror of
https://github.com/Corewala/Buran
synced 2025-01-02 21:24:19 +00:00
Update cert icon in request function
This commit is contained in:
parent
5e1e580f68
commit
5387f6635f
1 changed files with 2 additions and 5 deletions
|
@ -270,7 +270,6 @@ class GemActivity : AppCompatActivity() {
|
|||
}else{
|
||||
certPassword = null
|
||||
refresh()
|
||||
updateClientCertIcon()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -467,7 +466,6 @@ class GemActivity : AppCompatActivity() {
|
|||
)
|
||||
}
|
||||
gemRequest(state.uri.toString())
|
||||
updateClientCertIcon()
|
||||
}
|
||||
}
|
||||
.setNegativeButton(getString(R.string.cancel).toUpperCase()) { _, _ -> }
|
||||
|
@ -594,7 +592,6 @@ class GemActivity : AppCompatActivity() {
|
|||
|
||||
certPassword = biometricManager.decryptData(ciphertext, result.cryptoObject?.cipher!!)
|
||||
gemRequest(address)
|
||||
updateClientCertIcon()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -811,8 +808,8 @@ class GemActivity : AppCompatActivity() {
|
|||
}
|
||||
|
||||
private fun gemRequest(address: String){
|
||||
val clientCertAllowed = isHostSigned(address.toURI())
|
||||
if(!clientCertAllowed) certPassword = null
|
||||
if(!isHostSigned(address.toURI())) certPassword = null
|
||||
updateClientCertIcon()
|
||||
|
||||
if(getInternetStatus()){
|
||||
if(initialised){
|
||||
|
|
Loading…
Reference in a new issue