- { /* TODO(kerrya) all devices have an unknown type until PSG-650 */ }
-
- {
- isVerified
- ?
{
+ const Icon = deviceTypeIcon[deviceType] || deviceTypeIcon[DeviceType.Unknown];
+ const label = deviceTypeLabel[deviceType] || deviceTypeLabel[DeviceType.Unknown];
+ return (
+
+ {
+ isVerified
+ ?
+ :
+ }
+ );
+};
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index 2fc9052b43..2f8de1d2f0 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -1729,7 +1729,10 @@
"Inactive for %(inactiveAgeDays)s+ days": "Inactive for %(inactiveAgeDays)s+ days",
"Verified": "Verified",
"Unverified": "Unverified",
- "Unknown device type": "Unknown device type",
+ "Desktop session": "Desktop session",
+ "Mobile session": "Mobile session",
+ "Web session": "Web session",
+ "Unknown session type": "Unknown session type",
"Verified session": "Verified session",
"This session is ready for secure messaging.": "This session is ready for secure messaging.",
"Unverified session": "Unverified session",
diff --git a/test/components/views/settings/__snapshots__/DevicesPanel-test.tsx.snap b/test/components/views/settings/__snapshots__/DevicesPanel-test.tsx.snap
index 05c0ca8c98..96ec4a13bd 100644
--- a/test/components/views/settings/__snapshots__/DevicesPanel-test.tsx.snap
+++ b/test/components/views/settings/__snapshots__/DevicesPanel-test.tsx.snap
@@ -115,10 +115,14 @@ exports[`