|
@@ -311,7 +311,7 @@ abstract class ReaderActivity :
|
|
}
|
|
}
|
|
menu?.apply {
|
|
menu?.apply {
|
|
val isPdf = isPdf()
|
|
val isPdf = isPdf()
|
|
- when (password.isEmpty()) {
|
|
|
|
|
|
+ when (!isPasswordProtected) {
|
|
true -> {
|
|
true -> {
|
|
findItem(R.id.item_reader_more_encrypt)?.isVisible = isPdf
|
|
findItem(R.id.item_reader_more_encrypt)?.isVisible = isPdf
|
|
findItem(R.id.item_reader_more_decrypt)?.isVisible = false
|
|
findItem(R.id.item_reader_more_decrypt)?.isVisible = false
|