Skip to content

Commit 36ce21d

Browse files
committed
Show crypto version in developer settings
1 parent eddc590 commit 36ce21d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

public/locales/en-GB/app.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"username": "Username",
6060
"video": "Video"
6161
},
62+
"crypto_version": "Crypto version: {{version}}",
6263
"device_id": "Device ID: {{id}}",
6364
"disconnected_banner": "Connectivity to the server has been lost.",
6465
"full_screen_view_description": "<0>Submitting debug logs will help us track down the problem.</0>",
@@ -156,7 +157,7 @@
156157
"unauthenticated_view_eula_caption": "By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)</2>",
157158
"unauthenticated_view_login_button": "Login to your account",
158159
"unmute_microphone_button_label": "Unmute microphone",
159-
"version": "Version: {{version}}",
160+
"version": "{{productName}} version: {{version}}",
160161
"video_tile": {
161162
"always_show": "Always show",
162163
"change_fit_contain": "Fit to frame",

src/settings/SettingsModal.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,15 @@ export const SettingsModal: FC<Props> = ({
241241
>
242242
<p>
243243
{t("version", {
244+
productName: import.meta.env.VITE_PRODUCT_NAME || "Element Call",
244245
version: import.meta.env.VITE_APP_VERSION || "dev",
245246
})}
246247
</p>
248+
<p>
249+
{t("crypto_version", {
250+
version: client.getCrypto()?.getVersion() || "unknown",
251+
})}
252+
</p>
247253
<p>
248254
{t("matrix_id", {
249255
id: client.getUserId() || "unknown",

0 commit comments

Comments
 (0)