web: only show spellchecker settings on desktop

This commit is contained in:
Abdullah Atta
2023-01-30 19:11:36 +05:00
parent db60299c54
commit ee39d940be

View File

@@ -627,12 +627,14 @@ function Settings() {
/>
</Button>
{isDesktop() && (
<>
<Toggle
title="Enable spellchecker"
onToggled={() => spellChecker.toggle(!spellChecker.enabled)}
isToggled={spellChecker.enabled}
/>
{isDesktop() && getPlatform() !== "darwin" && (
{getPlatform() !== "darwin" && (
<Button
variant="list"
onClick={async () => {
@@ -648,6 +650,8 @@ function Settings() {
)}
</>
)}
</>
)}
<Header
title="Notifications"