diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 34a519aa4..b7155a8b0 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -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" diff --git a/ts/components/session/settings/SessionSettingListItem.tsx b/ts/components/session/settings/SessionSettingListItem.tsx index 667928d5c..c84c047e5 100644 --- a/ts/components/session/settings/SessionSettingListItem.tsx +++ b/ts/components/session/settings/SessionSettingListItem.tsx @@ -114,7 +114,7 @@ export class SessionSettingListItem extends React.Component { min={60} max={200} defaultValue={currentSliderValue} - onAfterChange={sliderValue => { + onChange={sliderValue => { this.handleSlider(sliderValue); }} /> diff --git a/ts/components/session/settings/SessionSettings.tsx b/ts/components/session/settings/SessionSettings.tsx index 1a88ada2d..8d493ef5a 100644 --- a/ts/components/session/settings/SessionSettings.tsx +++ b/ts/components/session/settings/SessionSettings.tsx @@ -474,7 +474,7 @@ export class SettingsView extends React.Component { { id: 'zoom-factor-setting', title: window.i18n('zoomFactorSettingTitle'), - description: window.i18n('zoomFactorSettingTitleDescription'), + description: undefined, hidden: false, type: SessionSettingType.Slider, category: SessionSettingCategory.Appearance,