优化
This commit is contained in:
@@ -180,7 +180,7 @@ interface JsEncodeUtils {
|
|||||||
fun aesEncodeToByteArray(
|
fun aesEncodeToByteArray(
|
||||||
data: String, key: String, transformation: String, iv: String
|
data: String, key: String, transformation: String, iv: String
|
||||||
): ByteArray? {
|
): 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