Skip to content

Commit

Permalink
Create initial value for __theme_mode attribute in Page class. (#1321)
Browse files Browse the repository at this point in the history
  • Loading branch information
thearyadev authored Apr 23, 2023
1 parent 1725a16 commit 4b4dc11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/python/packages/flet-core/src/flet_core/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def __init__(self, conn: Connection, session_id):
self.__offstage = Offstage()
self.__theme = None
self.__dark_theme = None
self.__theme_mode = ThemeMode.SYSTEM # Default Theme Mode
self.__pubsub = PubSub(conn.pubsubhub, session_id)
self.__client_storage = ClientStorage(self)
self.__session_storage = SessionStorage(self)
Expand Down

0 comments on commit 4b4dc11

Please sign in to comment.