From 6207b42044127b49fdd879217fc080fa11fb686b Mon Sep 17 00:00:00 2001 From: fhfuih Date: Sat, 14 Mar 2020 20:13:28 -0400 Subject: [PATCH] Decryption Retry All RN frontend --- ReactNativeClient/lib/components/screens/status.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ReactNativeClient/lib/components/screens/status.js b/ReactNativeClient/lib/components/screens/status.js index e1538132f7..2a8ec14cec 100644 --- a/ReactNativeClient/lib/components/screens/status.js +++ b/ReactNativeClient/lib/components/screens/status.js @@ -61,6 +61,9 @@ class StatusScreenComponent extends BaseScreenComponent { style.fontWeight = 'bold'; if (i > 0) style.paddingTop = 20; lines.push({ key: `section_${i}`, isSection: true, text: section.title }); + if (section.canRetryAll) { + lines.push({ key: `retry_all_${i}`, text: '', retryAllHandler: section.retryAllHandler }); + } for (let n in section.body) { if (!section.body.hasOwnProperty(n)) continue; @@ -101,6 +104,12 @@ class StatusScreenComponent extends BaseScreenComponent { style.flex = 1; + const retryAllButton = item.retryAllHandler ? ( + +