-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor code for updating prompt text
The original chunk of code for updating the prompt text with example number has been moved from an inline Runnable to a separate private method. This change makes the code cleaner and more maintainable. It also enhances readability as now, instead of an inline block, a method with a self-explanatory name is called, making the code easier to understand. The listeners have been also updated to call the new method.
- Loading branch information
1 parent
2e412c5
commit 7166dcd
Showing
1 changed file
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters