mirror of
https://github.com/anas-elgarhy/Ayah-intellij.git
synced 2024-08-15 00:43:43 +00:00
🤓 format the code 🥰
This commit is contained in:
parent
ebfcf9cf32
commit
6abefb4682
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue