Mods
This commit is contained in:
parent
7d62509aac
commit
0721e95a90
|
@ -56,7 +56,9 @@ class Config:
|
|||
merge_goal: int = 10
|
||||
manifest_path: Path
|
||||
manifest: dict[str, str]
|
||||
separator_color: str = "rgb(120, 120, 120)"
|
||||
separator_color: str = "rgb(111, 111, 111)"
|
||||
icon_on: str = "✅"
|
||||
icon_off: str = "❌"
|
||||
|
||||
@staticmethod
|
||||
def prepare() -> None:
|
||||
|
|
|
@ -452,10 +452,10 @@ class Game:
|
|||
|
||||
def make(text: str, enabled: bool) -> QAction:
|
||||
if enabled:
|
||||
icon = "✅"
|
||||
icon = Config.icon_on
|
||||
word = "On"
|
||||
else:
|
||||
icon = "❌"
|
||||
icon = Config.icon_off
|
||||
word = "Off"
|
||||
|
||||
return QAction(f"{icon} {text} {word}")
|
||||
|
|
Loading…
Reference in New Issue