Skip to content

Commit

Permalink
fix: Do not allow text editing in show source code
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxGalaxy committed Oct 28, 2023
1 parent 5523d6a commit e88de3b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public ShowSourceCodeDialog(Activity activity, String code, String language) {
binding.editor.setCode(code);
binding.editor.setTheme(Themes.SoraEditorTheme.Light.Quietlight);
binding.editor.setLanguageMode(language);
binding.editor.getSoraCodeEditor().setEditable(false);
binding
.editor
.getSoraCodeEditor()
Expand Down

0 comments on commit e88de3b

Please sign in to comment.