diff --git a/src/identity_verification_view/accept_request_page.ui b/src/identity_verification_view/accept_request_page.ui
index f4e45383..4b353e71 100644
--- a/src/identity_verification_view/accept_request_page.ui
+++ b/src/identity_verification_view/accept_request_page.ui
@@ -14,6 +14,7 @@
vertical
18
center
+ 24
-
-
-
-
diff --git a/src/identity_verification_view/cancelled_page.rs b/src/identity_verification_view/cancelled_page.rs
index 16521013..04ec4927 100644
--- a/src/identity_verification_view/cancelled_page.rs
+++ b/src/identity_verification_view/cancelled_page.rs
@@ -168,6 +168,11 @@ impl CancelledPage {
gettext("Verification Error")
};
imp.title.set_text(&title);
+
+ // If the verification was started by one of our other devices, let it offer to
+ // try again.
+ let offer_to_retry = !verification.is_self_verification() || verification.started_by_us();
+ imp.try_again_btn.set_visible(offer_to_retry);
}
/// Reset the UI to its initial state.
diff --git a/src/identity_verification_view/cancelled_page.ui b/src/identity_verification_view/cancelled_page.ui
index 677f1bd1..e551cd43 100644
--- a/src/identity_verification_view/cancelled_page.ui
+++ b/src/identity_verification_view/cancelled_page.ui
@@ -36,24 +36,31 @@
-
- center
- Send New Request
-
-
-
-
-
-
- center
- _Done
-
-
+
+ 12
+ 12
+ 0.5
+
+
+ center
+ _Done
+
+
+
+
+
+
+ center
+ Send New Request
+
+
+
+
diff --git a/src/identity_verification_view/confirm_qr_code_page.ui b/src/identity_verification_view/confirm_qr_code_page.ui
index 27c80fa6..18511053 100644
--- a/src/identity_verification_view/confirm_qr_code_page.ui
+++ b/src/identity_verification_view/confirm_qr_code_page.ui
@@ -43,31 +43,38 @@
-
- Confirm
- center
-
-
- question
-
-
-
-
-
-
- Cancel
- center
-
-
- question
-
-
+
+ 12
+ 12
+ 0.5
+
+
+ Cancel
+ center
+
+
+ question
+
+
+
+
+
+
+ Confirm
+ center
+
+
+ question
+
+
+
+
diff --git a/src/identity_verification_view/sas_page.ui b/src/identity_verification_view/sas_page.ui
index 31c93e1e..0d3ad88d 100644
--- a/src/identity_verification_view/sas_page.ui
+++ b/src/identity_verification_view/sas_page.ui
@@ -52,27 +52,34 @@
-
-
- Do Not Match
- center
-
-
-
-
-
-
-
- Match
- center
-
-
+
+ 12
+ 12
+ 0.5
+
+
+
+ Do Not Match
+ center
+
+
+
+
+
+
+
+ Match
+ center
+
+
+
+
diff --git a/src/session/model/verification/identity_verification.rs b/src/session/model/verification/identity_verification.rs
index b0d7a14e..7f1a3c54 100644
--- a/src/session/model/verification/identity_verification.rs
+++ b/src/session/model/verification/identity_verification.rs
@@ -431,6 +431,11 @@ impl IdentityVerification {
self.request().is_self_verification()
}
+ /// Whether we started this verification.
+ pub fn started_by_us(&self) -> bool {
+ self.request().we_started()
+ }
+
/// The ID of the other device that is being verified.
pub fn other_device_id(&self) -> Option {
let request_state = self.request().state();