Show crypto version in developer settings

This commit is contained in:
Hugh Nimmo-Smith
2024-08-19 10:40:09 +01:00
parent eddc590235
commit 36ce21d7ac
2 changed files with 8 additions and 1 deletions

View File

@@ -241,9 +241,15 @@ export const SettingsModal: FC<Props> = ({
>
<p>
{t("version", {
productName: import.meta.env.VITE_PRODUCT_NAME || "Element Call",
version: import.meta.env.VITE_APP_VERSION || "dev",
})}
</p>
<p>
{t("crypto_version", {
version: client.getCrypto()?.getVersion() || "unknown",
})}
</p>
<p>
{t("matrix_id", {
id: client.getUserId() || "unknown",