Add connection_quality setting (hidden for now)

This commit is contained in:
DevilXD committed 2023-08-16 22:41:20 +02:00
1 parent 643a9f9300
commit d5410b2aa5
2 files changed
+15 -1

No files matched your search

+3
View File
@@ -19,6 +19,7 @@ class SettingsFile(TypedDict):
priority: list[str]
priority_only: bool
autostart_tray: bool
connection_quality: int
tray_notifications: bool
@@ -29,6 +30,7 @@ default_settings: SettingsFile = {
"autostart": False,
"priority_only": True,
"autostart_tray": False,
"connection_quality": 1,
"language": DEFAULT_LANG,
"tray_notifications": True,
}
@@ -51,6 +53,7 @@ class Settings:
priority: list[str]
priority_only: bool
autostart_tray: bool
connection_quality: int
tray_notifications: bool
PASSTHROUGH = ("_settings", "_args", "_altered")