(&self)
| 196 | } |
| 197 | |
| 198 | impl FullStackApp { |
| 199 | pub fn new(cc: &eframe::CreationContext<'_>) -> Self { |
| 200 | theme::apply(&cc.egui_ctx); |
| 201 | let settings: settings::AppSettings = cc |
| 202 | .storage |
| 203 | .and_then(|storage| eframe::get_value(storage, settings::APP_KEY)) |
| 204 | .unwrap_or_default(); |
| 205 | settings.apply(&cc.egui_ctx); |
| 206 | let mut app = Self { |