Skip to content

Commit

Permalink
Omit sound notification settings on desktop linux - as there are no s…
Browse files Browse the repository at this point in the history
…ound notifications on linux (keybase#19615)
  • Loading branch information
taruti authored Sep 13, 2019
1 parent 248efc0 commit 76d640a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shared/settings/notifications/render.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as React from 'react'
import * as Kb from '../../common-adapters'
import * as Styles from '../../styles'
import * as Types from '../../constants/types/settings'
import {isLinux} from '../../constants/platform'
import {Props} from './index'

const Group = (props: {
Expand Down Expand Up @@ -133,7 +134,7 @@ const Notifications = (props: Props) =>
/>
)}

{!Styles.isMobile && (
{!Styles.isMobile && !isLinux && (
<Kb.Box2 direction="vertical" fullWidth={true}>
<Kb.Divider style={styles.divider} />
<Kb.Text type="Header">Sound</Kb.Text>
Expand Down

0 comments on commit 76d640a

Please sign in to comment.