From 666943a6984133dd50b23098a07a559c083bfaca Mon Sep 17 00:00:00 2001 From: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com> Date: Fri, 27 Aug 2021 15:49:26 -0300 Subject: [PATCH] [FIX] E2E Encryption button doesn't appear (#3343) Co-authored-by: Diego Mello --- app/views/SecurityPrivacyView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/SecurityPrivacyView.js b/app/views/SecurityPrivacyView.js index a21ae00fd..534e6bc32 100644 --- a/app/views/SecurityPrivacyView.js +++ b/app/views/SecurityPrivacyView.js @@ -19,7 +19,7 @@ const SecurityPrivacyView = ({ navigation }) => { const [crashReportState, setCrashReportState] = useState(getReportCrashErrorsValue()); const [analyticsEventsState, setAnalyticsEventsState] = useState(getReportAnalyticsEventsValue()); - const { e2eEnabled } = useSelector(state => state.settings); + const e2eEnabled = useSelector(state => state.settings.E2E_Enable); useEffect(() => { navigation.setOptions({