Update NDK, more KTX usage (#4792)

* Update NDK

* Utilize more KTX extensions
This commit is contained in:
Taco
2021-04-08 17:56:01 -04:00
committed by GitHub
parent b2d697131c
commit b3471234ad
6 changed files with 17 additions and 34 deletions
@@ -820,7 +820,7 @@ class ReaderActivity : BaseRxActivity<ReaderActivityBinding, ReaderPresenter>()
* Sets the visibility of the bottom page indicator according to [visible].
*/
fun setPageNumberVisibility(visible: Boolean) {
binding.pageNumber.visibility = if (visible) View.VISIBLE else View.INVISIBLE
binding.pageNumber.isVisible = visible
}
/**