aboutsummaryrefslogtreecommitdiff
path: root/Hotline/macOS
diff options
context:
space:
mode:
authorDustin Mierau <mierau@users.noreply.github.com>2024-05-14 15:40:07 -0700
committerGitHub <noreply@github.com>2024-05-14 15:40:07 -0700
commitec78dfa6c0a407cb9160e913886887a764f8e1d3 (patch)
tree486c877688ff11d636c8427e80243430329b41d4 /Hotline/macOS
parent1dbc84ae671d87b7d5aaef35667c43a9d5fe9f37 (diff)
parent8dd886979ec61e5adb73d8c662de07070be75d41 (diff)
Merge pull request #19 from jhalter/add_show_join_leave_pref
Add "Show Join/Leave in Chat" option
Diffstat (limited to 'Hotline/macOS')
-rw-r--r--Hotline/macOS/SettingsView.swift1
1 files changed, 1 insertions, 0 deletions
diff --git a/Hotline/macOS/SettingsView.swift b/Hotline/macOS/SettingsView.swift
index 79f0156..81a2f8d 100644
--- a/Hotline/macOS/SettingsView.swift
+++ b/Hotline/macOS/SettingsView.swift
@@ -11,6 +11,7 @@ struct GeneralSettingsView: View {
Form {
TextField("Your Name", text: $username, prompt: Text("guest"))
+ Toggle("Show Join/Leave in Chat", isOn: $preferences.showJoinLeaveMessages)
Toggle("Refuse private messages", isOn: $preferences.refusePrivateMessages)
Toggle("Refuse private chat", isOn: $preferences.refusePrivateChat)
Toggle("Automatic Response", isOn: $preferences.enableAutomaticMessage)