Remove unread notes indicator for now (#11035)
I'd like to add something back here, but it's more distracting than helpful today. Fixes: #10887 Release Notes: - Removed channel notes unread indicator --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
parent
03d0b68f0c
commit
7f229dc202
1 changed files with 1 additions and 6 deletions
|
@ -2970,6 +2970,7 @@ impl Render for DraggedChannelView {
|
||||||
struct JoinChannelTooltip {
|
struct JoinChannelTooltip {
|
||||||
channel_store: Model<ChannelStore>,
|
channel_store: Model<ChannelStore>,
|
||||||
channel_id: ChannelId,
|
channel_id: ChannelId,
|
||||||
|
#[allow(unused)]
|
||||||
has_notes_notification: bool,
|
has_notes_notification: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2983,12 +2984,6 @@ impl Render for JoinChannelTooltip {
|
||||||
|
|
||||||
container
|
container
|
||||||
.child(Label::new("Join channel"))
|
.child(Label::new("Join channel"))
|
||||||
.children(self.has_notes_notification.then(|| {
|
|
||||||
h_flex()
|
|
||||||
.gap_2()
|
|
||||||
.child(Indicator::dot().color(Color::Info))
|
|
||||||
.child(Label::new("Unread notes"))
|
|
||||||
}))
|
|
||||||
.children(participants.iter().map(|participant| {
|
.children(participants.iter().map(|participant| {
|
||||||
h_flex()
|
h_flex()
|
||||||
.gap_2()
|
.gap_2()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue