diff --git a/app/src/main/java/me/devsaki/hentoid/activities/HinaActivity.java b/app/src/main/java/me/devsaki/hentoid/activities/HinaActivity.java index 834b537cd7..e36bca7bfe 100644 --- a/app/src/main/java/me/devsaki/hentoid/activities/HinaActivity.java +++ b/app/src/main/java/me/devsaki/hentoid/activities/HinaActivity.java @@ -227,6 +227,9 @@ private void initUI() { llm = (LinearLayoutManager) recyclerView.getLayoutManager(); new FastScrollerBuilder(recyclerView).build(); + View alertCloseButton = findViewById(R.id.web_alert_close_btn); + alertCloseButton.setOnClickListener(this::onAlertCloseClick); + initPagingMethod(); } diff --git a/app/src/main/res/layout/activity_hina.xml b/app/src/main/res/layout/activity_hina.xml index 7bcb224b0a..33a4d1c73e 100644 --- a/app/src/main/res/layout/activity_hina.xml +++ b/app/src/main/res/layout/activity_hina.xml @@ -51,7 +51,7 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/web_alert_txt" - tools:listitem="@layout/item_library" /> + tools:listitem="@layout/item_library_content" />