Skip to content

Commit

Permalink
add javadoc for soundActivated method
Browse files Browse the repository at this point in the history
  • Loading branch information
creme332 committed Dec 23, 2023
1 parent a0bcee8 commit 2b3efb0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/com/github/creme332/utils/SettingsManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ public void setData(String key, String data) {

settingDict.get(key).setData(data);
}

/**
* Checks whether sound setting is enabled.
* @return True if sound is enabled.
*/
public boolean soundActivated() {
return getData("Typing sound").equals("on");
}
Expand Down

0 comments on commit 2b3efb0

Please sign in to comment.