This commit fixes #1 and brings other improvements

This commit is contained in:
2024-04-21 07:52:10 +00:00
parent 887dfcc088
commit e94762b85c
8 changed files with 167 additions and 80 deletions

View File

@ -9,5 +9,5 @@ __all__ = [
'MedianetSettings',
'MwscSettings',
'OoredooSettings',
'StelcoSettings'
]
'StelcoSettings',
]

View File

@ -17,7 +17,6 @@ def Settings(page: ft.Page):
config.save('apps', 'dhiraagu', '1')
page.update()
generalSettings = ft.Container(
content=ft.Column(
controls=[
@ -27,7 +26,7 @@ def Settings(page: ft.Page):
ft.Switch(
label=' Enable this module',
on_change=_on_enable_change,
value=False
value=False,
),
),
padding=10,

View File

@ -17,7 +17,6 @@ def Settings(page: ft.Page):
config.save('apps', 'medianet', '1')
page.update()
generalSettings = ft.Container(
content=ft.Column(
controls=[
@ -27,7 +26,7 @@ def Settings(page: ft.Page):
ft.Switch(
label=' Enable this module',
on_change=_on_enable_change,
value=False
value=False,
),
),
padding=10,

View File

@ -17,7 +17,6 @@ def Settings(page: ft.Page):
config.save('apps', 'mwsc', '1')
page.update()
generalSettings = ft.Container(
content=ft.Column(
controls=[
@ -27,7 +26,7 @@ def Settings(page: ft.Page):
ft.Switch(
label=' Enable this module',
on_change=_on_enable_change,
value=False
value=False,
),
),
padding=10,

View File

@ -17,7 +17,6 @@ def Settings(page: ft.Page):
config.save('apps', 'ooredoo', '1')
page.update()
generalSettings = ft.Container(
content=ft.Column(
controls=[
@ -27,7 +26,7 @@ def Settings(page: ft.Page):
ft.Switch(
label=' Enable this module',
on_change=_on_enable_change,
value=False
value=False,
),
),
padding=10,

View File

@ -17,7 +17,6 @@ def Settings(page: ft.Page):
config.save('apps', 'stelco', '1')
page.update()
generalSettings = ft.Container(
content=ft.Column(
controls=[
@ -27,7 +26,7 @@ def Settings(page: ft.Page):
ft.Switch(
label=' Enable this module',
on_change=_on_enable_change,
value=False
value=False,
),
),
padding=10,