fix
Some checks failed
Rust / build (ubuntu-latest, stable) (push) Failing after 1m39s
Rust / build (ubuntu-latest, stable) (pull_request) Failing after 1m41s
Rust / build (macos-latest, stable) (pull_request) Has been cancelled
Rust / build (windows-latest, stable) (pull_request) Has been cancelled
Rust / build (macos-latest, stable) (push) Has been cancelled
Rust / build (windows-latest, stable) (push) Has been cancelled

This commit is contained in:
2026-02-28 08:49:35 +07:00
parent 0236316999
commit 5e7dcdf2df
4 changed files with 22 additions and 24 deletions

View File

@@ -333,7 +333,7 @@ impl Render for ContactListPanel {
div() div()
.italic() .italic()
.text_xs() .text_xs()
.text_color(cx.theme().danger_foreground) .text_color(cx.theme().danger_active)
.child(error.clone()), .child(error.clone()),
) )
}), }),

View File

@@ -269,26 +269,24 @@ impl Render for EncryptionPanel {
)), )),
) )
}) })
.when(state.set(), |this| { .child(
this.child( v_flex()
v_flex() .gap_1()
.gap_1() .child(
.child( Button::new("reset")
Button::new("reset") .icon(IconName::Reset)
.icon(IconName::Reset) .label("Reset")
.label("Reset") .warning()
.warning() .small()
.small() .font_semibold(),
.font_semibold(), )
) .child(
.child( div()
div() .italic()
.italic() .text_size(px(10.))
.text_size(px(10.)) .text_color(cx.theme().text_muted)
.text_color(cx.theme().text_muted) .child(SharedString::from(NOTICE)),
.child(SharedString::from(NOTICE)), ),
), )
)
})
} }
} }

View File

@@ -349,7 +349,7 @@ impl Render for MessagingRelayPanel {
div() div()
.italic() .italic()
.text_xs() .text_xs()
.text_color(cx.theme().danger_foreground) .text_color(cx.theme().danger_active)
.child(error.clone()), .child(error.clone()),
) )
}), }),

View File

@@ -408,7 +408,7 @@ impl Render for RelayListPanel {
div() div()
.italic() .italic()
.text_xs() .text_xs()
.text_color(cx.theme().danger_foreground) .text_color(cx.theme().danger_active)
.child(error.clone()), .child(error.clone()),
) )
}), }),