Fix reader info bar text size
This commit is contained in:
@@ -30,7 +30,7 @@ abstract class BaseReaderFragment<B : ViewBinding> : BaseFragment<B>(), ZoomCont
|
||||
|
||||
viewModel.content.observe(viewLifecycleOwner) {
|
||||
var pendingState = restoredState ?: it.state
|
||||
if (pendingState == null && readerAdapter?.hasItems != true) {
|
||||
if (pendingState == null && it.pages.isNotEmpty() && readerAdapter?.hasItems != true) {
|
||||
pendingState = viewModel.getCurrentState()
|
||||
}
|
||||
onPagesChanged(it.pages, pendingState)
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top"
|
||||
android:minHeight="16dp"
|
||||
android:paddingHorizontal="6dp"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user