Improve verification instructions (#1301)

This commit is contained in:
ZeroAurora 2023-06-21 08:00:43 +08:00 committed by GitHub
parent 715f2bc907
commit 4c84673bdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -217,6 +217,26 @@ function DeviceManage() {
<div className="device-manage">
<div>
<MenuHeader>Unverified sessions</MenuHeader>
{!isMeVerified && (
<div style={{ padding: 'var(--sp-extra-tight) var(--sp-normal)' }}>
<InfoCard
rounded
variant="primary"
iconSrc={InfoIC}
title="Verify this session either with your Security Key/Phrase here or by initiating emoji verification from a verified session."
/>
</div>
)}
{isMeVerified && unverified.length > 0 && (
<div style={{ padding: 'var(--sp-extra-tight) var(--sp-normal)' }}>
<InfoCard
rounded
variant="surface"
iconSrc={InfoIC}
title="Verify other sessions by emoji verification or remove unfamiliar ones."
/>
</div>
)}
{!isCSEnabled && (
<div style={{ padding: 'var(--sp-extra-tight) var(--sp-normal)' }}>
<InfoCard