Skip to content

Commit

Permalink
[chore] Disabled to change crash report on nigthly
Browse files Browse the repository at this point in the history
  • Loading branch information
stackchain committed Jan 18, 2022
1 parent 26001b9 commit acbb730
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions legacy/components/Settings/ApplicationSettingsScreen.js
Expand Up @@ -10,7 +10,7 @@ import {useDispatch, useSelector} from 'react-redux'
// $FlowExpectedError
import {useSelectedWalletMeta, useSetSelectedWalletMeta} from '../../../src/SelectedWallet'
import {setAppSettingField, setEasyConfirmation, setSystemAuth} from '../../actions'
import {CONFIG} from '../../config/config'
import {CONFIG, isNightly} from '../../config/config'
import KeyStore from '../../crypto/KeyStore'
import walletManager from '../../crypto/walletManager'
import {APP_SETTINGS_KEYS} from '../../helpers/appSettings'
Expand Down Expand Up @@ -181,7 +181,7 @@ const ApplicationSettingsScreen = () => {

<SettingsSection title={intl.formatMessage(messages.crashReporting)}>
<SettingsItem label={intl.formatMessage(messages.crashReportingText)}>
<Switch value={sendCrashReports} onValueChange={setCrashReporting} />
<Switch value={sendCrashReports} onValueChange={setCrashReporting} disabled={isNightly()} />
</SettingsItem>
</SettingsSection>

Expand Down

0 comments on commit acbb730

Please sign in to comment.