summaryrefslogtreecommitdiffstats
path: root/src/core/src/components/search_bar/mod.rs
diff options
context:
space:
mode:
authorTim Oram <dev@mitmaro.ca>2023-03-06 09:15:19 -0330
committerTim Oram <dev@mitmaro.ca>2023-09-09 20:11:35 -0230
commit8192277e48ae83e729d79b235602e0e0b318cc30 (patch)
tree4f584428739bad06c3242450b7d367dc409185e0 /src/core/src/components/search_bar/mod.rs
parentd7655157ff5d8e199291575b2ac0d1ac6267d69f (diff)
Diffstat (limited to 'src/core/src/components/search_bar/mod.rs')
-rw-r--r--src/core/src/components/search_bar/mod.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/src/components/search_bar/mod.rs b/src/core/src/components/search_bar/mod.rs
index 9e1df81..da7d5fd 100644
--- a/src/core/src/components/search_bar/mod.rs
+++ b/src/core/src/components/search_bar/mod.rs
@@ -123,10 +123,6 @@ impl SearchBar {
self.state == State::Editing
}
- pub(crate) fn is_searching(&self) -> bool {
- self.state == State::Searching
- }
-
pub(crate) fn build_view_line(&self) -> ViewLine {
ViewLine::from(self.editable_line.line_segments())
}