This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
use egui::TextEdit;
|
||||
use egui_commonmark::{CommonMarkCache, CommonMarkViewer};
|
||||
use serde::{self, Deserialize, Serialize};
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
use crate::{
|
||||
PROJECT_FOLDER,
|
||||
|
||||
@@ -1,14 +1,8 @@
|
||||
use std::{
|
||||
cell::OnceCell,
|
||||
io::Read,
|
||||
path::{Path, PathBuf},
|
||||
sync::LazyLock,
|
||||
};
|
||||
|
||||
use chrono::NaiveDate;
|
||||
use egui::TextEdit;
|
||||
use egui_extras::DatePickerButton;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::{io::Read, path::PathBuf, sync::LazyLock};
|
||||
|
||||
use crate::{PROJECT_FOLDER, util::saved_status};
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
use core::fmt;
|
||||
|
||||
use chrono::NaiveDate;
|
||||
use core::fmt;
|
||||
use egui::ScrollArea;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
|
||||
+7
-1
@@ -1,3 +1,5 @@
|
||||
#![windows_subsystem = "windows"]
|
||||
|
||||
use std::{path::PathBuf, sync::LazyLock};
|
||||
|
||||
use egui::ScrollArea;
|
||||
@@ -30,7 +32,11 @@ fn main() {
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
let _ = eframe::run_native("World Coder", options, Box::new(|_cc| Ok(Box::new(app))));
|
||||
if let Err(e) = eframe::run_native("World Coder", options, Box::new(|_cc| Ok(Box::new(app)))) {
|
||||
eprintln!("Failed to run app: {e}");
|
||||
}
|
||||
|
||||
eprintln!("App closed");
|
||||
}
|
||||
|
||||
pub struct Interface {
|
||||
|
||||
Reference in New Issue
Block a user