diff --git a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt index b7c3f2ea1..f50800709 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt @@ -160,7 +160,8 @@ class ReadBookActivity : ReadBookBaseActivity(), for (i in 0 until menu.size) { val item = menu[i] when (item.groupId) { - R.id.menu_group_on_line -> item.isVisible = onLine + R.id.menu_group_on_line, + R.id.menu_group_on_line_ns -> item.isVisible = onLine R.id.menu_group_local -> item.isVisible = !onLine R.id.menu_group_text -> item.isVisible = book.isLocalTxt() R.id.menu_group_login -> diff --git a/app/src/main/res/menu/read_book.xml b/app/src/main/res/menu/read_book.xml index eb9aedd34..5e5d73736 100644 --- a/app/src/main/res/menu/read_book.xml +++ b/app/src/main/res/menu/read_book.xml @@ -1,14 +1,8 @@