diff options
| author | Eris <femmediscord@gmail.com> | 2021-06-14 20:41:34 +0000 |
|---|---|---|
| committer | Eris <femmediscord@gmail.com> | 2021-06-14 20:41:34 +0000 |
| commit | 4639e30cb8e6086a57acbe35d864e8b453e197ba (patch) | |
| tree | aca2feeaacbd03c426fdf885b0a8119310f98553 /src | |
| parent | 67c9d8bd55b94d85ecb38c8034680b25ea5196fe (diff) | |
Fix config naming for consistency
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/settings_modal/tabs/general_tab.vue | 4 | ||||
| -rw-r--r-- | src/i18n/en.json | 2 | ||||
| -rw-r--r-- | src/modules/config.js | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/components/settings_modal/tabs/general_tab.vue b/src/components/settings_modal/tabs/general_tab.vue index 4c09d047..44f6fa3e 100644 --- a/src/components/settings_modal/tabs/general_tab.vue +++ b/src/components/settings_modal/tabs/general_tab.vue @@ -118,8 +118,8 @@ </BooleanSetting> </li> <li> - <BooleanSetting path="showNewPostButton"> - {{ $t('settings.showPostButton') }} + <BooleanSetting path="alwaysShowNewPostButton"> + {{ $t('settings.always_show_post_button') }} </BooleanSetting> </li> <li> diff --git a/src/i18n/en.json b/src/i18n/en.json index 26f51cea..0ee871de 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -349,7 +349,7 @@ "max_thumbnails": "Maximum amount of thumbnails per post", "hide_isp": "Hide instance-specific panel", "right_sidebar": "Show sidebar on the right side", - "showPostButton": "Always show floating New Post button", + "always_show_post_button": "Always show floating New Post button", "hide_wallpaper": "Hide instance wallpaper", "preload_images": "Preload images", "use_one_click_nsfw": "Open NSFW attachments with just one click", diff --git a/src/modules/config.js b/src/modules/config.js index 30c77a7b..28ee651b 100644 --- a/src/modules/config.js +++ b/src/modules/config.js @@ -34,7 +34,7 @@ export const defaultState = { loopVideoSilentOnly: true, streaming: false, emojiReactionsOnTimeline: true, - showNewPostButton: false, + alwaysShowNewPostButton: false, autohideFloatingPostButton: false, pauseOnUnfocused: true, stopGifs: false, |
