Skip to content

Commit

Permalink
- Prefs UI update for new sound
Browse files Browse the repository at this point in the history
- Labels
  • Loading branch information
Trenair authored and Sheikah45 committed Jun 26, 2024
1 parent 106315a commit d622700
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ public class SettingsController extends NodeController<Node> {
public CheckBox playFriendJoinsGameSoundCheckBox;
public CheckBox playFriendPlaysGameSoundCheckBox;
public CheckBox displayPmReceivedToastCheckBox;
public CheckBox displayMatchFoundSoundCheckBox;
public CheckBox playMatchFoundSoundCheckBox;
public CheckBox playPmReceivedSoundCheckBox;
public CheckBox afterGameReviewCheckBox;
public CheckBox disableSteamStartCheckBox;
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/i18n/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ settings.notifications.toastPosition = Toast position
settings.notifications.toastScreen = Screen
settings.notifications.playSound = Play sound
settings.notifications.pmReceived = PM received
settings.notifications.matchFound = Match Found
settings.notifications.ranked1v1 = Ranked 1v1 available
settings.sounds = Sounds
settings.sounds.enable = Enable Sounds
Expand Down
11 changes: 10 additions & 1 deletion src/main/resources/theme/settings/settings.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -596,8 +596,17 @@
GridPane.columnIndex="2" GridPane.halignment="CENTER"
GridPane.rowIndex="5" GridPane.valignment="CENTER"/>
<Label styleClass="setting-title"
text="%settings.notifications.afterGameReview"
text="%settings.notifications.matchFound"
GridPane.rowIndex="6"/>
<CheckBox fx:id="displayMatchFoundSoundCheckBox" mnemonicParsing="false"
GridPane.columnIndex="1" GridPane.halignment="CENTER"
GridPane.rowIndex="6" GridPane.valignment="CENTER"/>
<CheckBox fx:id="playMatchFoundSoundCheckBox" mnemonicParsing="false"
GridPane.columnIndex="2" GridPane.halignment="CENTER"
GridPane.rowIndex="6" GridPane.valignment="CENTER"/>
<Label styleClass="setting-title"
text="%settings.notifications.afterGameReview"
GridPane.rowIndex="7"/>
<CheckBox fx:id="afterGameReviewCheckBox" mnemonicParsing="false"
GridPane.columnIndex="1" GridPane.halignment="CENTER"
GridPane.rowIndex="6" GridPane.valignment="CENTER"/>
Expand Down

0 comments on commit d622700

Please sign in to comment.