|
|
@ -32,6 +32,7 @@ class CodeDialog() : BaseDialogFragment(R.layout.dialog_code_view) { |
|
|
|
override fun onFragmentCreated(view: View, savedInstanceState: Bundle?) { |
|
|
|
override fun onFragmentCreated(view: View, savedInstanceState: Bundle?) { |
|
|
|
binding.toolBar.setBackgroundColor(primaryColor) |
|
|
|
binding.toolBar.setBackgroundColor(primaryColor) |
|
|
|
if (arguments?.getBoolean("disableEdit") == true) { |
|
|
|
if (arguments?.getBoolean("disableEdit") == true) { |
|
|
|
|
|
|
|
binding.toolBar.title = "code view" |
|
|
|
binding.codeView.disableEdit() |
|
|
|
binding.codeView.disableEdit() |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
initMenu() |
|
|
|
initMenu() |
|
|
|