Call is_toggled as a method
This commit is contained in:
1 parent
c62a69dd77
commit
ccfacd3bcc
1 file changed
+1
-1
@@ -99,7 +99,7 @@ impl<S: 'static + Send + Sync + Clone> ListHeader<S> {
|
||||
let color = ThemeColor::new(cx);
|
||||
|
||||
let is_toggleable = self.toggleable != Toggleable::NotToggleable;
|
||||
let is_toggled = Toggleable::is_toggled(&self.toggleable);
|
||||
let is_toggled = self.toggleable.is_toggled();
|
||||
|
||||
let disclosure_control = self.disclosure_control();
|
||||
|
||||
|
||||
Reference in new issue
Block a user