aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorSaiyed Shizain <saiyedshizain@gmail.com>2026-01-19 01:46:36 +0530
committerSaiyed Shizain <saiyedshizain@gmail.com>2026-01-19 01:46:36 +0530
commitdcd61c807d95fd5ccd0d106865122788e7322fc8 (patch)
treedf81438a8bd0ce3173823806838bc24a415841e9 /src/main.rs
parent2e1032f34c3180720289d264869655206a3548a8 (diff)
downloadpomoru-dcd61c807d95fd5ccd0d106865122788e7322fc8.tar.xz
pomoru-dcd61c807d95fd5ccd0d106865122788e7322fc8.zip
add persistance using toml file
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 bd5deb5..d221785 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -20,7 +20,7 @@ fn setup_panic_hook() {
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
setup_panic_hook();
- let mut app = Pomo::new();
+ let mut app = Pomo::load();
app.run().await?;
Ok(())
}