feat: add switch of send preview bubble

This commit is contained in:
RugerMc
2023-03-31 13:16:12 +08:00
parent 61eb356fd9
commit 1db210097c
6 changed files with 31 additions and 13 deletions

View File

@@ -278,6 +278,18 @@ export function Settings(props: { closeSettings: () => void }) {
}
></input>
</SettingItem>
<SettingItem title={Locale.Settings.SendPreviewBubble}>
<input
type="checkbox"
checked={config.sendPreviewBubble}
onChange={(e) =>
updateConfig(
(config) => (config.sendPreviewBubble = e.currentTarget.checked),
)
}
></input>
</SettingItem>
</List>
<List>
<SettingItem