Skip to content

Commit

Permalink
fixup: Ensure consistent state
Browse files Browse the repository at this point in the history
  • Loading branch information
hulthe committed Apr 10, 2024
1 parent d9bc659 commit 9de7258
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mullvad-types/src/access_method.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ impl Settings {
/// Clear all custom access methods.
pub fn clear_custom(&mut self) {
self.custom.clear();
self.ensure_consistent_state();
}

/// Check that `self` contains atleast one enabled access methods. If not,
Expand Down

0 comments on commit 9de7258

Please sign in to comment.