mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Replace JSON with RON for persistence (epi/eframe/glium/web)
This commit is contained in:
@@ -111,7 +111,7 @@ fn create_storage(app_name: &str) -> Option<Box<dyn epi::Storage>> {
|
||||
None
|
||||
} else {
|
||||
let mut config_dir = data_dir;
|
||||
config_dir.push("app.json");
|
||||
config_dir.push("app.ron");
|
||||
let storage = crate::persistence::FileStorage::from_path(config_dir);
|
||||
Some(Box::new(storage))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user