this commit fixes #2 and adds other improvements to #3

This commit is contained in:
2024-04-21 11:56:10 +00:00
parent e94762b85c
commit debf0461bb
12 changed files with 139 additions and 27 deletions

View File

@ -1,5 +1,4 @@
import flet as ft
from .config import config
class Theme:
@ -9,5 +8,4 @@ class Theme:
def change(self, theme: ft.ThemeMode = None):
if theme:
self.page.theme_mode = theme
print(theme)
self.page.update()