Skip to content

Commit

Permalink
fix(wallet-mobile): crash reporting persistence and catalyst voting
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed Nov 18, 2024
1 parent 3d2c7f7 commit 12358c2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {SafeAreaView} from 'react-native-safe-area-context'

import {Icon} from '../../../components/Icon'
import {Spacer} from '../../../components/Spacer/Spacer'
import {isNightly, isProduction} from '../../../kernel/env'
import {isDev, isNightly, isProduction} from '../../../kernel/env'
import {useLanguage} from '../../../kernel/i18n'
import {themeNames} from '../../../kernel/i18n/global-messages'
import {defaultLanguage} from '../../../kernel/i18n/languages'
Expand Down Expand Up @@ -214,7 +214,7 @@ const CrashReportsSwitch = ({crashReportEnabled}: {crashReportEnabled: boolean})
})
}

return <SettingsSwitch value={isLocalEnabled} onValueChange={onToggleCrashReports} disabled={isNightly} />
return <SettingsSwitch value={isLocalEnabled} onValueChange={onToggleCrashReports} disabled={isNightly || isDev} />
}

// to avoid switch jumps
Expand Down

0 comments on commit 12358c2

Please sign in to comment.