优化
This commit is contained in:
1 parent
481d864445
commit
3e24fbadc6
2 files changed
+7
-1
No files matched your search
@@ -180,7 +180,7 @@ interface JsEncodeUtils {
|
||||
fun aesEncodeToByteArray(
|
||||
data: String, key: String, transformation: String, iv: String
|
||||
): ByteArray? {
|
||||
return createSymmetricCrypto(transformation, key, iv).decrypt(data)
|
||||
return createSymmetricCrypto(transformation, key, iv).encrypt(data)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -145,6 +145,12 @@ class BookshelfManageActivity :
|
||||
}
|
||||
|
||||
})
|
||||
setOnQueryTextFocusChangeListener { _, hasFocus ->
|
||||
if (!hasFocus) {
|
||||
searchView?.isIconified = true
|
||||
showTitle()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user