diff --git a/crates/theme/src/theme.rs b/crates/theme/src/theme.rs index 586f444ebbf638adb5533390e864b4fca0354f50..69c06c85addfe84ff8fda996abcab1f84a271966 100644 --- a/crates/theme/src/theme.rs +++ b/crates/theme/src/theme.rs @@ -822,9 +822,9 @@ impl Toggleable { } pub fn in_state(&self, active: bool) -> &T { if active { - &self.inactive - } else { &self.active + } else { + &self.inactive } } pub fn active_state(&self) -> &T {