🤓 format the code 🥰

This commit is contained in:
Anas Elgarhy 2022-08-20 09:57:57 +02:00
parent ebfcf9cf32
commit 6abefb4682
1 changed files with 3 additions and 2 deletions

View File

@ -87,7 +87,7 @@ public class SettingsComponent {
private void setup() {
final var settings = AyahSettingsState.getInstance();
notificationsIntervalSpinnerModel = new SpinnerNumberModel(settings.getIntervalTimeBetweenNotifications(),
1, Integer.MAX_VALUE, 1);
1, Integer.MAX_VALUE, 1);
notificationsIntervalSpinner.setModel(notificationsIntervalSpinnerModel);
basmalhOnStartCheckBox.setSelected(settings.getBasmalhOnStart().isActive());
@ -166,7 +166,8 @@ public class SettingsComponent {
final var b = new BasmalhOnStart();
b.setActive(basmalhOnStartCheckBox.isSelected());
b.setSoundActive(autoPlayBasmalhCheckBox.isSelected());
b.setEditionId(((ReadableEdition) Objects.requireNonNull(basmalhPlayerIdComboBox.getSelectedItem())).getEdition().getIdentifier());
b.setEditionId(((ReadableEdition) Objects.requireNonNull(
basmalhPlayerIdComboBox.getSelectedItem())).getEdition().getIdentifier());
b.setVolume(basmalhVolumeSlider.getValue());
return b;
}