From 6abefb4682431771503e63bfdd044882f54fd65c Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Sat, 20 Aug 2022 09:57:57 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=93=20format=20the=20code=20?= =?UTF-8?q?=F0=9F=A5=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../intellij/plugins/ayah/settings/SettingsComponent.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/anas/intellij/plugins/ayah/settings/SettingsComponent.java b/src/main/java/com/anas/intellij/plugins/ayah/settings/SettingsComponent.java index 21da1c7..0f4e019 100644 --- a/src/main/java/com/anas/intellij/plugins/ayah/settings/SettingsComponent.java +++ b/src/main/java/com/anas/intellij/plugins/ayah/settings/SettingsComponent.java @@ -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; }