add slider title to message.json

pull/905/head
Brian Jian Zhao 5 years ago
parent cb7289d3d8
commit a80c6e30e2

@ -1471,6 +1471,10 @@
"Warning! Lowering the TTL could result in messages being lost if the recipient doesn't collect them in time!",
"description": "Warning for the time to live setting"
},
"zoomFactorSettingTitle": {
"message": "Zoom Factor",
"description": "Title of the Zoom Factor setting"
},
"notificationSettingsDialog": {
"message": "When messages arrive, display notifications that reveal...",
"description": "Explain the purpose of the notification settings"

@ -114,7 +114,7 @@ export class SessionSettingListItem extends React.Component<Props, State> {
min={60}
max={200}
defaultValue={currentSliderValue}
onAfterChange={sliderValue => {
onChange={sliderValue => {
this.handleSlider(sliderValue);
}}
/>

@ -474,7 +474,7 @@ export class SettingsView extends React.Component<SettingsViewProps, State> {
{
id: 'zoom-factor-setting',
title: window.i18n('zoomFactorSettingTitle'),
description: window.i18n('zoomFactorSettingTitleDescription'),
description: undefined,
hidden: false,
type: SessionSettingType.Slider,
category: SessionSettingCategory.Appearance,

Loading…
Cancel
Save