From fc3275442c09e9674ce5ef6a1ba04831aeddc788 Mon Sep 17 00:00:00 2001 From: mshafer1 <2565361+mshafer1@users.noreply.github.com> Date: Sat, 21 Dec 2024 08:18:35 -0600 Subject: [PATCH] more CamelCasing --- ntfysh_client/SettingsDialog.Designer.cs | 2 +- ntfysh_client/SettingsDialog.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ntfysh_client/SettingsDialog.Designer.cs b/ntfysh_client/SettingsDialog.Designer.cs index 01d5f9f..7a85107 100644 --- a/ntfysh_client/SettingsDialog.Designer.cs +++ b/ntfysh_client/SettingsDialog.Designer.cs @@ -160,7 +160,7 @@ namespace ntfysh_client useCustomTrayNotifications.TabStop = true; useCustomTrayNotifications.Text = "Use ntfysh-windows custom tray notifications"; useCustomTrayNotifications.UseVisualStyleBackColor = true; - useCustomTrayNotifications.CheckedChanged += useCustomTrayNotifications_CheckedChanged; + useCustomTrayNotifications.CheckedChanged += UseCustomTrayNotifications_CheckedChanged; // // useNativeWindowsNotifications // diff --git a/ntfysh_client/SettingsDialog.cs b/ntfysh_client/SettingsDialog.cs index e63036b..3cb11c5 100644 --- a/ntfysh_client/SettingsDialog.cs +++ b/ntfysh_client/SettingsDialog.cs @@ -61,7 +61,7 @@ namespace ntfysh_client public SettingsDialog() { InitializeComponent(); - setNotificationsUIElements(); + SetNotificationsUIElements(); } private void saveButton_Click(object sender, EventArgs e) @@ -74,16 +74,16 @@ namespace ntfysh_client DialogResult = DialogResult.Cancel; } - private void setNotificationsUIElements() + private void SetNotificationsUIElements() { groupCustomNotificationSettings.Enabled = useCustomTrayNotifications.Checked; timeoutLabel.Text = useCustomTrayNotifications.Checked ? _customNotificationsTimeout : _windowsNotificationsTimeout; timeout.Minimum = useCustomTrayNotifications.Checked ? -1 : 0; } - private void useCustomTrayNotifications_CheckedChanged(object sender, EventArgs e) + private void UseCustomTrayNotifications_CheckedChanged(object sender, EventArgs e) { - setNotificationsUIElements(); + SetNotificationsUIElements(); } private const string _windowsNotificationsTimeout = "Notification Toast Timeout (seconds, may be ignored by OS based on accessibility settings):";