summaryrefslogtreecommitdiffstats
path: root/model/preference.go
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-10-05 12:03:27 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-10-13 09:42:25 -0400
commit599644fb2fa75d1760420806c8c821959fc6b645 (patch)
treebd45794907dade690e9adc51736dc8797c79a3f5 /model/preference.go
parent415f959614f6a3fd7fcb6551e32b722df2b015c5 (diff)
downloadchat-599644fb2fa75d1760420806c8c821959fc6b645.tar.gz
chat-599644fb2fa75d1760420806c8c821959fc6b645.tar.bz2
chat-599644fb2fa75d1760420806c8c821959fc6b645.zip
Renamed show_hide preference to show
Diffstat (limited to 'model/preference.go')
-rw-r--r--model/preference.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/model/preference.go b/model/preference.go
index 8e2ff14bc..5a5f0d64e 100644
--- a/model/preference.go
+++ b/model/preference.go
@@ -11,7 +11,7 @@ import (
const (
PREFERENCE_CATEGORY_DIRECT_CHANNELS = "direct_channels"
PREFERENCE_CATEGORY_TEST = "test" // do not use, just for testing uniqueness while there's only one real category
- PREFERENCE_NAME_SHOWHIDE = "show_hide"
+ PREFERENCE_NAME_SHOW = "show"
PREFERENCE_NAME_TEST = "test" // do not use, just for testing uniqueness while there's only one real name
)
@@ -92,5 +92,5 @@ func IsPreferenceCategoryValid(category string) bool {
}
func IsPreferenceNameValid(name string) bool {
- return name == PREFERENCE_NAME_SHOWHIDE || name == PREFERENCE_NAME_TEST
+ return name == PREFERENCE_NAME_SHOW || name == PREFERENCE_NAME_TEST
}