aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-04-28 23:20:16 +0200
committerGustav Sörnäs <gustav@sornas.net>2021-04-28 23:20:16 +0200
commit49ee6470ad8f748f85bf1c9ad4364d47f8b2252b (patch)
treeb99edc2cc5ff85711590444b0c96ebbd9f6de662 /src/main.rs
parent91888f054ae12ff36eeced64801c497e44fb7722 (diff)
downloadmail-49ee6470ad8f748f85bf1c9ad4364d47f8b2252b.tar.gz
reload queries
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 53d6eaf..1149f83 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -26,7 +26,7 @@ fn main() {
let query = db.create_query("tag:inbox").unwrap();
let threads = query.search_threads().unwrap();
- Threads::new(threads)
+ Threads::from_query(Some(String::from("tag:inbox")), threads)
};
threads.init(&mut screen);