Skip to content

Commit

Permalink
fix: prompt for save if user modifies the HOTP counter
Browse files Browse the repository at this point in the history
  • Loading branch information
replydev committed Sep 12, 2024
1 parent 32a956e commit 8568771
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/interface/handlers/main_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ fn handle_counter_switch(app: &mut App, increment: bool) {
} else {
Some(counter.saturating_sub(1))
};
app.database.mark_modified();
app.tick(true);
}
}
Expand Down

0 comments on commit 8568771

Please sign in to comment.