Skip to content

Commit

Permalink
Prefer dark style
Browse files Browse the repository at this point in the history
  • Loading branch information
Ketok4321 committed Aug 21, 2023
1 parent 84782bd commit 4949363
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ def __init__(self):
self.create_action("retry_connect", self.on_retry_connect_action)

def do_activate(self):
Adw.StyleManager.get_default().set_color_scheme(Adw.ColorScheme.PREFER_DARK) # TODO: Should i prefer or force dark? or maybe just use the system settings?

self.win = self.props.active_window
if not self.win:
self.win = SpeedtestWindow(application=self)
Expand Down

0 comments on commit 4949363

Please sign in to comment.