From a13a2e310505ffca2c29bc4501ad59eec841d18a Mon Sep 17 00:00:00 2001 From: Jason Date: Sun, 28 Dec 2025 17:39:16 -0600 Subject: [PATCH] Introduced saving template to file --- src/app.rs | 33 ++++++++++++++++++++++++++------- src/main.rs | 2 +- success.txt | 1 + 3 files changed, 28 insertions(+), 8 deletions(-) create mode 100644 success.txt diff --git a/src/app.rs b/src/app.rs index 9e8b1ad..90a7a8d 100644 --- a/src/app.rs +++ b/src/app.rs @@ -1,25 +1,25 @@ +use std::{fs::File, io::Write}; + use eframe::egui::{self, Id}; use rfd::FileDialog; use crate::template::{self, Template}; -pub struct MyEguiApp { +pub struct App { templates: Vec