mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
tui(footer): remove bold from access label (‘Read Only’, ‘Write with Approval’, ‘Full Access’)
This commit is contained in:
@@ -1472,8 +1472,8 @@ impl WidgetRef for ChatComposer {
|
|||||||
} else { true };
|
} else { true };
|
||||||
if show_access_label {
|
if show_access_label {
|
||||||
if let Some(label) = &self.access_mode_label {
|
if let Some(label) = &self.access_mode_label {
|
||||||
// Emphasize the access label so it stands out in the footer
|
// Access label without bold per design
|
||||||
left_spans.push(Span::from(label.clone()).style(label_style.add_modifier(Modifier::BOLD)));
|
left_spans.push(Span::from(label.clone()).style(label_style));
|
||||||
// Show the hint suffix while the hint timer is active; if the whole label
|
// Show the hint suffix while the hint timer is active; if the whole label
|
||||||
// is ephemeral, keep the suffix visible for the same duration.
|
// is ephemeral, keep the suffix visible for the same duration.
|
||||||
let show_suffix = if let Some(until) = self.access_mode_hint_expiry {
|
let show_suffix = if let Some(until) = self.access_mode_hint_expiry {
|
||||||
|
|||||||
Reference in New Issue
Block a user