修复编辑书架是切换分组不隐藏的bug

master
fengyuecanzhu 3 years ago committed by GitHub
parent 954f7b232b
commit f18c906aeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/src/main/java/xyz/fycz/myreader/ui/activity/MainActivity.java

@ -262,9 +262,9 @@ public class MainActivity extends BaseActivity {
} else {
menu.setGroupVisible(R.id.bookcase_menu, true);
menu.findItem(R.id.action_finish).setVisible(false);
}
menu.findItem(R.id.action_change_group).setVisible(SharedPreUtils
menu.findItem(R.id.action_change_group).setVisible(SharedPreUtils
.getInstance().getBoolean("openGroup"));
}
} else {
menu.setGroupVisible(R.id.bookcase_menu, false);
menu.findItem(R.id.action_finish).setVisible(false);

Loading…
Cancel
Save