aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-11 00:55:19 +0300
committerGitHub <noreply@github.com>2026-09-11 00:55:19 +0300
commit58271459401fa461707c042f7f03867ddcfff3ea (patch)
treed8ae601d636858d9fafba62332870144059b2a3b /src/client
parent043b804c44665b07bd503fdad896bbe0a29311a0 (diff)
feat: support conditional sidebar token hiding (#3925)
Diffstat (limited to 'src/client')
-rw-r--r--src/client/shell/config.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/shell/config.rs b/src/client/shell/config.rs
index 36e1051f..222e027e 100644
--- a/src/client/shell/config.rs
+++ b/src/client/shell/config.rs
@@ -476,7 +476,10 @@ mod tests {
);
assert_eq!(shell.agents.row_gap, 2);
assert_eq!(
- shell.agents.rows[0][0].style_for_value("Local").bold,
+ shell.agents.rows[0][0]
+ .style_for_value("Local")
+ .unwrap()
+ .bold,
Some(true)
);
let previous = shell.agents.clone();