improved dark mode, automatic theme switch (#5720)

This commit is contained in:
Kevin Papst
2025-12-19 23:51:27 +01:00
committed by GitHub
parent b61420d633
commit 8c1ed68817
90 changed files with 1855 additions and 1956 deletions

View File

@@ -28,6 +28,7 @@ final class MenuItemModel implements MenuItemInterface
private bool $divider = false;
private bool $lastWasDivider = false;
private bool $expanded = false;
private bool $disabled = false;
private string $translationDomain = 'messages';
public function __construct(
@@ -308,4 +309,14 @@ final class MenuItemModel implements MenuItemInterface
{
$this->translationDomain = $translationDomain;
}
public function setDisabled(bool $disabled): void
{
$this->disabled = $disabled;
}
public function isDisabled(): bool
{
return $this->disabled;
}
}