Always show a button to register a new certificate
Dadoum

Dadoum commited on 2026-07-10 00:21:45
Showing 1 changed files, with 7 additions and 1 deletions.

... ...
@@ -538,7 +538,13 @@ fn missing_private_key_warning(
538 538
 }
539 539
 
540 540
 fn certificate_actions(refreshing: bool, cx: &mut Context<SettingsWindow>) -> impl IntoElement {
541
-    div().flex().items_center().justify_end().child(
541
+    div()
542
+        .flex()
543
+        .items_center()
544
+        .justify_end()
545
+        .gap_2()
546
+        .child(create_certificate_button(refreshing, cx))
547
+        .child(
542 548
             surface_button("revoke-certificate")
543 549
                 .h_7()
544 550
                 .when(refreshing, |this| this.opacity(0.45).tab_stop(false))
545 551