fixed a bug in ElementToggle and added statte for notifications and ElementList overhaul
This commit is contained in:
@@ -62,7 +62,7 @@ export const getElementToggleNode = (
|
||||
) => {
|
||||
return (
|
||||
<Switch
|
||||
onToggle={() => onToggle()}
|
||||
// the callback is called by the Pressable component wrapping the entire row
|
||||
isChecked={value ?? false}
|
||||
defaultIsChecked={defaultValue}
|
||||
disabled={disabled}
|
||||
|
||||
Reference in New Issue
Block a user