Skip to content

Commit e64e229

Browse files
committed
Replace Switch with LiquidToggle in Push Notifications panel to match theme
1 parent b1a9f1a commit e64e229

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/components/settings/panels/PushNotificationPanel.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useEffect, useState } from 'react';
2-
import { Form, Input, InputNumber, Switch, Tooltip, Alert, Spin, Divider, Button } from 'antd';
2+
import { Form, Input, InputNumber, Tooltip, Alert, Spin, Divider, Button } from 'antd';
33
import {
44
QuestionCircleOutlined,
55
SaveOutlined,
@@ -8,6 +8,7 @@ import {
88
import useGenericSettings from '@app/hooks/useGenericSettings';
99
import { SettingsGroupType } from '@app/types/settings.types';
1010
import { LiquidBlueButton } from '@app/components/common/LiquidBlueButton';
11+
import { LiquidToggle } from '@app/components/common/LiquidToggle';
1112
import * as S from './PushNotificationPanel.styles';
1213
import * as UI from '@app/pages/uiComponentsPages/UIComponentsPage.styles';
1314

@@ -148,7 +149,7 @@ const PushNotificationPanel: React.FC = () => {
148149
}
149150
valuePropName="checked"
150151
>
151-
<Switch />
152+
<LiquidToggle />
152153
</Form.Item>
153154

154155
{/* Service Configuration */}
@@ -294,7 +295,7 @@ const PushNotificationPanel: React.FC = () => {
294295
}
295296
valuePropName="checked"
296297
>
297-
<Switch />
298+
<LiquidToggle />
298299
</Form.Item>
299300

300301
<Form.Item
@@ -359,7 +360,7 @@ const PushNotificationPanel: React.FC = () => {
359360
}
360361
valuePropName="checked"
361362
>
362-
<Switch />
363+
<LiquidToggle />
363364
</Form.Item>
364365

365366
<Form.Item

0 commit comments

Comments
 (0)