From d076fc0c7287e350632eafd73cd5c287e65169c9 Mon Sep 17 00:00:00 2001 From: sawka Date: Tue, 7 Nov 2023 01:24:35 -0800 Subject: [PATCH] remove current version check in about modal (not implemented). text not selectable (except for version) --- src/app/app.less | 4 ++++ src/app/common/modals/modals.tsx | 13 ++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/app/app.less b/src/app/app.less index b45c5ced..c974ae4d 100644 --- a/src/app/app.less +++ b/src/app/app.less @@ -546,3 +546,7 @@ a.a-block { .unselectable { user-select: none; } + +.text-selectable { + user-select: text; +} diff --git a/src/app/common/modals/modals.tsx b/src/app/common/modals/modals.tsx index 1b8f09bf..e5451065 100644 --- a/src/app/common/modals/modals.tsx +++ b/src/app/common/modals/modals.tsx @@ -369,6 +369,13 @@ class AboutModal extends React.Component<{}, {}> { @boundMethod getStatus(isUpToDate: boolean): JSX.Element { + // TODO no up-to-date status reporting + return ( +
+
Client Version v0.4.0 20231016-110014
+
+ ); + if (isUpToDate) { return (
@@ -376,7 +383,7 @@ class AboutModal extends React.Component<{}, {}> { Up to Date
-
Client Version v0.4.0 20231016-110014
+
Client Version v0.4.0 20231016-110014
); } @@ -386,7 +393,7 @@ class AboutModal extends React.Component<{}, {}> { Outdated Version -
Client Version v0.4.0 20231016-110014
+
Client Version v0.4.0 20231016-110014