mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[api] refactoring: removing screen measures as parameters of SoftwareManager.get_settings
This commit is contained in:
@@ -2860,9 +2860,9 @@ class ArchManager(SoftwareManager):
|
||||
id_=id_,
|
||||
capitalize_label=capitalize_label)
|
||||
|
||||
def get_settings(self, screen_width: int, screen_height: int) -> Optional[ViewComponent]:
|
||||
def get_settings(self) -> Optional[ViewComponent]:
|
||||
arch_config = self.configman.get_config()
|
||||
max_width = floor(screen_width * 0.25)
|
||||
max_width = floor(self.context.screen_width * 0.25)
|
||||
|
||||
db_sync_start = self._gen_bool_selector(id_='sync_dbs_start',
|
||||
label_key='arch.config.sync_dbs',
|
||||
|
||||
Reference in New Issue
Block a user