|
|
@ -84,10 +84,10 @@ class ChangeSourceDialog : BaseDialogFragment(), |
|
|
|
binding.toolBar.inflateMenu(R.menu.change_source) |
|
|
|
binding.toolBar.inflateMenu(R.menu.change_source) |
|
|
|
binding.toolBar.menu.applyTint(requireContext()) |
|
|
|
binding.toolBar.menu.applyTint(requireContext()) |
|
|
|
binding.toolBar.setOnMenuItemClickListener(this) |
|
|
|
binding.toolBar.setOnMenuItemClickListener(this) |
|
|
|
binding.toolBar.menu.findItem(R.id.menu_load_info)?.isChecked = |
|
|
|
binding.toolBar.menu.findItem(R.id.menu_load_info) |
|
|
|
AppConfig.changeSourceLoadInfo |
|
|
|
?.isChecked = AppConfig.changeSourceLoadInfo |
|
|
|
binding.toolBar.menu.findItem(R.id.menu_load_toc)?.isChecked = AppConfig.changeSourceLoadToc |
|
|
|
binding.toolBar.menu.findItem(R.id.menu_load_toc) |
|
|
|
|
|
|
|
?.isChecked = AppConfig.changeSourceLoadToc |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private fun initRecyclerView() { |
|
|
|
private fun initRecyclerView() { |
|
|
|