mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
1a6d59389d
commit
6bea7a6ac2
@ -32,6 +32,7 @@ class CodeDialog() : BaseDialogFragment(R.layout.dialog_code_view) {
|
||||
override fun onFragmentCreated(view: View, savedInstanceState: Bundle?) {
|
||||
binding.toolBar.setBackgroundColor(primaryColor)
|
||||
if (arguments?.getBoolean("disableEdit") == true) {
|
||||
binding.toolBar.title = "code view"
|
||||
binding.codeView.disableEdit()
|
||||
} else {
|
||||
initMenu()
|
||||
|
Loading…
Reference in New Issue
Block a user