From 0d0526600d1de4bfd0d3aa39fd2ebd4456f54d10 Mon Sep 17 00:00:00 2001
From: Christopher Willis-Ford <7019101+cwillisf@users.noreply.github.com>
Date: Thu, 3 Dec 2020 16:03:48 -0800
Subject: [PATCH] use radio buttons for telemetry modal
This indicates the current state, lets the user exit without changing
state, and lets the user change state any time they want.
This change also improves RTL support in the telemetry modal.
---
src/components/gui/gui.jsx | 3 +
.../telemetry-modal/telemetry-modal.css | 45 +++++----
.../telemetry-modal/telemetry-modal.jsx | 96 ++++++++++++-------
src/lib/app-state-hoc.jsx | 2 +
4 files changed, 92 insertions(+), 54 deletions(-)
diff --git a/src/components/gui/gui.jsx b/src/components/gui/gui.jsx
index 518198c1c..a44604898 100644
--- a/src/components/gui/gui.jsx
+++ b/src/components/gui/gui.jsx
@@ -86,6 +86,7 @@ const GUIComponent = props => {
isPlayerOnly,
isRtl,
isShared,
+ isTelemetryEnabled,
loading,
logo,
renderLogin,
@@ -161,6 +162,8 @@ const GUIComponent = props => {
>
{telemetryModalVisible ? (