Skip to content

Commit

Permalink
Reenable save
Browse files Browse the repository at this point in the history
  • Loading branch information
c-git committed Jan 23, 2024
1 parent a437c5f commit 48ee524
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ impl CalculatorApp {

impl eframe::App for CalculatorApp {
/// Called by the frame work to save state before shutdown.
fn save(&mut self, _storage: &mut dyn eframe::Storage) {
// TODO if we decide to show history then we can enable this but off for now
// eframe::set_value(storage, eframe::APP_KEY, self);
eframe::set_value(storage, eframe::APP_KEY, self);
}

/// Called each time the UI needs repainting, which may be many times per second.
Expand Down

0 comments on commit 48ee524

Please sign in to comment.