feat: add contact list panel #10

Merged
reya merged 4 commits from feat/contact-list into master 2026-02-28 01:50:34 +00:00
4 changed files with 22 additions and 24 deletions
Showing only changes of commit 5e7dcdf2df - Show all commits

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,8 +269,7 @@ impl Render for EncryptionPanel {
)), )),
) )
}) })
.when(state.set(), |this| { .child(
this.child(
v_flex() v_flex()
.gap_1() .gap_1()
.child( .child(
@@ -289,6 +288,5 @@ impl Render for EncryptionPanel {
.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()),
) )
}), }),