[FIX] E2E Encryption button doesn't appear (#3343)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
f838825644
commit
666943a698
|
@ -19,7 +19,7 @@ const SecurityPrivacyView = ({ navigation }) => {
|
||||||
const [crashReportState, setCrashReportState] = useState(getReportCrashErrorsValue());
|
const [crashReportState, setCrashReportState] = useState(getReportCrashErrorsValue());
|
||||||
const [analyticsEventsState, setAnalyticsEventsState] = useState(getReportAnalyticsEventsValue());
|
const [analyticsEventsState, setAnalyticsEventsState] = useState(getReportAnalyticsEventsValue());
|
||||||
|
|
||||||
const { e2eEnabled } = useSelector(state => state.settings);
|
const e2eEnabled = useSelector(state => state.settings.E2E_Enable);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
navigation.setOptions({
|
navigation.setOptions({
|
||||||
|
|
Loading…
Reference in New Issue